{"id":15405269,"url":"https://github.com/drewish/cityscape","last_synced_at":"2026-03-12T16:39:18.303Z","repository":{"id":27050975,"uuid":"30516282","full_name":"drewish/Cityscape","owner":"drewish","description":"Generates simple geometric cityscapes in the style of Donald Crews","archived":false,"fork":false,"pushed_at":"2017-12-31T20:29:07.000Z","size":1887,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-17T12:09:28.348Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drewish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-09T03:12:00.000Z","updated_at":"2020-09-21T02:57:17.000Z","dependencies_parsed_at":"2022-09-01T02:40:30.385Z","dependency_job_id":null,"html_url":"https://github.com/drewish/Cityscape","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/drewish/Cityscape","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewish%2FCityscape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewish%2FCityscape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewish%2FCityscape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewish%2FCityscape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drewish","download_url":"https://codeload.github.com/drewish/Cityscape/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewish%2FCityscape/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30433381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-01T16:15:49.182Z","updated_at":"2026-03-12T16:39:18.273Z","avatar_url":"https://github.com/drewish.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cityscape\n\n![Flying](./flying_by_donald_crews.jpg)\n\nThis project was inspired by [Donald Crews' book Flying](http://www.amazon.com/gp/product/0688092357).\nMy wife had gotten the book for our son, but having loved [Truck](http://www.amazon.com/Truck-Donald-Crews/dp/0688104819)\nas a child, I fell in love with the style and thought it would be fun to spend\na weekend writing a program to generate a city in his style.\n\nAs I worked on an algorithm to divide a blocks into lots, I realized that rather\nthan a topic for a weekend project, it really a topic for a PhD thesis.\nFortunately. [Tom Kelly has already written that thesis](http://twak.blogspot.com/2014/02/unwritten-procedural-modeling-with.html),\nand it's fascinating. His survey of procedural modeling techniques gave me a ton\nof ideas and he's included an algorithm for using the block's straight skeleton\nto partitioning it into lots.\n\nThe goal of this project is an app that will accept a series of roads, and\ngenerate a city of buildings in Crews' style, around them. I decided to use the CGAL\nlibrary for its straight skeleton and that forced me to learn a lot about C++\ntemplates, which slowed my progress. But as I've started to discover how to use\nit, I found the breadth of CGAL's functionality to be amazing. It may not do it\nfast, but it'll do it accurately.\n\n![Screen shot of Cityscape](./SEEME.png)\n\n\n## Installation\n\nClone this repo:\n\n```\ngit clone https://github.com/drewish/Cityscape.git\n```\n\nInstall my `triangulate-3d` branch of Cinder 0.9.1dev in a sibling directory:\n\n```\ngit clone --recursive https://github.com/drewish/Cinder.git -b triangulate-3d\nCinder/xcode/fullbuild.sh\n```\n\nInstall CGAL 4.11 using homebrew:\n\n```\nbrew install cgal\n```\n\nOpen the app up in Xcode:\n\n```\nopen Cityscape/xcode/Cityscape.xcodeproj\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewish%2Fcityscape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewish%2Fcityscape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewish%2Fcityscape/lists"}