Simulation code here:
http://lo-th.github.io/3d.city/build/city.3d.js
Background worker (neat idea) that handles all user input and costly events, to keep the 3D animations consistently fast:
Simulation code here:
http://lo-th.github.io/3d.city/build/city.3d.js
Background worker (neat idea) that handles all user input and costly events, to keep the 3D animations consistently fast:
The simulation is from my own micropolisJS (http://micropolisjs.graememcc.co.uk and https://github.com/graememcc/micropolisJS) just stripped of the GPL License headers and attribution.
micropolisJS in turn is a port of Micropolis, the open-source release of Sim City 1989 for One Laptop Per Child.
Edit: edited the link. You'd think I should get links to my own site correct!
In addition, micropolisJS has additional terms added to the GPL [0], which are clearly linked to from the top of every source file in micropolisJS [1], which need to be distributed with 3D City.
[0] http://micropolisjs.graememcc.co.uk/LICENSE
[1] https://github.com/graememcc/micropolisJS/blob/master/js/Blo...
https://code.google.com/p/micropolis/wiki/License
This is from section 2.1 of contract between EA and OLPC:
http://donhopkins.com/home/micropolis/olpc-ea-contract.pdf
2.1 Modification. EA hereby grants to OLPC a non-exclusive, non-transferable, non-sub licensable, non-assignable, revocable right and license to modify the Original SimCity as provided by EA for the sole purpose of producing a version of the Original SimCity for distribution on laptops provided through the OLPC Program pursuant to the specifications set forth in Exhibit A ("OLPC SimCity"). All right, title and interest in OLPC SimCity and any interim modifications shall belong solely to EA. OLPC SimCity, and any subsequent versions, will not be distributed by OLPC unless the software meets the requirements set forth in Exhibit A. For the avoidance of doubt, nothing contained in this Agreement shall be deemed to limit or restrict EA’s right to use, modify, sell, distribute or license the Original SimCity in any other manner as EA so desires.
EXHIBIT A  Territory: Worldwide
Original SimCity Code: Title: SimCity (published in or about 1990)
Format: Unix Platform
Deliverable Items: EA will deliver to OLPC the following materials on or shortly after the Effective Date:
1. Source code for the Unix port version of the Original SimCity.
2. Any EA Documentation that EA deems necessary.
General Software Requirements: OLPC agrees that the OLPC SimCity will not be approved by EA for distribution under Section 2.2 of this Agreement, until the OLPC SimCity meets the following general software requirements:
1. EA’s QA team is unable to crash the game in sixteen (16) man-hours of play-time.
2. EA’s QA team is unable to find images/language that is deemed inappropriate to achieve an “E” rating by the ESRB standard.
3. No use of any EA Trademarks that would reflect negatively upon the established reputation of EA.
4. Add copyright/license information to each source file to reflect the proper licensing. Specific Software Requirements: OLPC agrees that the OLPC SimCity will not be approved by EA for distribution under Section 2.2 of this Agreement, until the OLPC SimCity meets the following specific software requirements
1. The Air Crash Disaster is removed from the game.
2. EA approved splash screen is shown before the start of the game.
3. Simplify the Main Menu with EA provided GUI elements.
4. All text in the game must be legible.
5. Game audio must work.
6. Remove all attempted multi-player features.
7. SimCity Should be properly integrated to the XO’s GUI
8. Code for the EA approved splash screen is not included in the source code to be distributed with the OLPC SimCity executable.
The original author would have the right to add new alternative license conditions as he wishes to.
Maybe the author of 3D City should say something about it.
Edit: Now I saw, what you mean. MicropolisJS seems to be an alteration of the GPL'ed Micropolis of an other author. And the owner of MicropolisJS stripped the GPL license from it to use it in the other project (btw. why?). I am no lawyer, but it really looks to me as a violation of the GPL, at least without permission of the first author.
http://donhopkins.com/home/micropolis/olpc-ea-contract.pdf
https://code.google.com/p/micropolis/wiki/License
2.1 Modification. EA hereby grants to OLPC a non-exclusive, non-transferable, non-sub licensable, non-assignable, revocable right and license to modify the Original SimCity as provided by EA for the sole purpose of producing a version of the Original SimCity for distribution on laptops provided through the OLPC Program pursuant to the specifications set forth in Exhibit A ("OLPC SimCity"). All right, title and interest in OLPC SimCity and any interim modifications shall belong solely to EA. OLPC SimCity, and any subsequent versions, will not be distributed by OLPC unless the software meets the requirements set forth in Exhibit A. For the avoidance of doubt, nothing contained in this Agreement shall be deemed to limit or restrict EA’s right to use, modify, sell, distribute or license the Original SimCity in any other manner as EA so desires.
And on a completely unrelated topic:
Q: How do you know there's an elephant hiding under your bed?
A: Your face is pressed up against the ceiling!
Deleted comment
Look at my Github repo: the LICENSE/COPYING files contain the GPL, and it's mentioned in every other file. The correct license has been in place since my initial commit in 2013.
I was pointing out that 3D.City, the version linked up top, essentially lifted the simulation code straight from micropolisJS. It is the copy/adaptation of my code in 3D.City that had the GPL License stripped.
You would be unable to use that code unless you moved the entire whole work over to the AGPLv3 license, would you be prepared to do that in order to integrate forked changes?
Mocropolis is released under GPL. MicropolisJS is released under GPL. Someone took some code from MicropolisJS and removed the header, and that code is used in 3D.City. The person who removed the licencing headers is not the author of micropolisJS.
`The simulation is from my own micropolisJS (http://micropolisjs.graememcc.co.uk and https://github.com/graememcc/micropolisJS) just stripped of the GPL License headers and attribution.`
https://github.com/lo-th/3d.city/blob/gh-pages/README.md
"Start with the excelent port of Micropolis by graememcc"
UPDATE: As much I see now, it seems that graememcc did not consent in using his work with altered license. So it is a violation.
Micropolis is gpl'd.
MicropolisJS is a version of that, and is also correctly licensed.
3DCity - the submission here - is written by someone else. This person stripped the gpl headers and re-used some code without correctly licensing that code.
Deleted comment
There are small details like laying out roads and making power lines go over them etc that are super-fiddly too.
I know this because I played around with my own simcity for a while, first in true 3D (making curvy roads look nice is damn difficult) and then a 2D grid.
Here's a screenshot I was particularly proud of - the effort to get to that point was more than it looks! http://media.tumblr.com/c9b51ca1eb2b3e89eb8d5af0f560ec34/tum...
More on my algos http://williamedwardscoder.tumblr.com/post/49797579721/willc...
I was going to procedurally produce the buildings using a variation on Eisenscript https://sites.google.com/site/williamedwardscoder/home/exten... with variables in the script based on things like price, distance to other zones, scores etc
I look at the files you link and think "yeah!". I put my city simulation into a Web Worker and the UI in the browser thread though.