{"id":16688186,"url":"https://github.com/jstrait/city-tour","last_synced_at":"2025-09-23T01:31:00.916Z","repository":{"id":5109145,"uuid":"6273098","full_name":"jstrait/city-tour","owner":"jstrait","description":"A procedurally generated city built with WebGL and three.js","archived":false,"fork":false,"pushed_at":"2024-07-14T00:38:17.000Z","size":4569,"stargazers_count":83,"open_issues_count":0,"forks_count":18,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-07T14:09:11.934Z","etag":null,"topics":["canvas","city","procedural-generation","threejs","webgl"],"latest_commit_sha":null,"homepage":"https://www.joelstrait.com/citytour/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ThrivingKings/animo.js","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jstrait.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-10-18T04:39:20.000Z","updated_at":"2024-12-01T14:04:01.000Z","dependencies_parsed_at":"2023-12-31T02:52:15.953Z","dependency_job_id":"d1884c30-0e16-4044-897e-59f99bf4ec7c","html_url":"https://github.com/jstrait/city-tour","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstrait%2Fcity-tour","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstrait%2Fcity-tour/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstrait%2Fcity-tour/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstrait%2Fcity-tour/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jstrait","download_url":"https://codeload.github.com/jstrait/city-tour/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233912863,"owners_count":18749850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canvas","city","procedural-generation","threejs","webgl"],"created_at":"2024-10-12T15:27:10.091Z","updated_at":"2025-09-23T01:30:55.865Z","avatar_url":"https://github.com/jstrait.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# City Tour\n\nVisit a procedurally generated city, different each time. Sit back and enjoy the ride!\n\n\u003chttps://www.joelstrait.com/citytour/\u003e\n\n\u003cimg src=\"city_tour.gif\" width=\"400\" /\u003e\n\nMade using [three.js](http://threejs.org) and WebGL.\n\n\n## How It Works\n\nFirst, blueprints of the world are generated:\n\n* A terrain map\n* A road network that follows the terrain\n* Empty building lots along roads\n* Buildings in the lots\n\nThe results are different each time due to random variation, but follow configurable rules.\n\nNext, this abstract definition is turned into a 3D model that can be rendered with WebGL, with the help of [three.js](http://threejs.org).\n\nOnce this is all created, you can move around the city using touch gestures (mobile) or the mouse (desktop). Navigation works similar to Google/Apple Maps. You can also click the \"Take a Tour\" button to go on an automatic flight/drive through the city.\n\n## Running Locally\n\n* If running the app locally for the first time, run `yarn install`\n* Run `yarn serve`, which will build the app and start a local development server\n* Open the `localhost` URL listed in the command-line output in your browser\n* If a source file is changed while the server is running the app will automatically be rebuilt. However, you'll need to manually refresh the page in your browser to see the changes.\n\n## Building For Production\n\n* If building the app for the first time, run `yarn install`\n* Run `yarn build`\n* The `dist/` folder will contain the files that should be deployed to production\n\n## Running Tests\n\n* `yarn test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstrait%2Fcity-tour","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjstrait%2Fcity-tour","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstrait%2Fcity-tour/lists"}