{"id":25774446,"url":"https://github.com/markusand/tiles","last_synced_at":"2026-07-25T00:31:17.828Z","repository":{"id":167415355,"uuid":"68136495","full_name":"markusand/Tiles","owner":"markusand","description":"Surface rendering grid in Processing","archived":false,"fork":false,"pushed_at":"2017-02-09T20:36:01.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T00:54:29.744Z","etag":null,"topics":["processing"],"latest_commit_sha":null,"homepage":"","language":"Processing","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markusand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-09-13T18:36:28.000Z","updated_at":"2017-09-09T22:18:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6e861d6-01e5-4896-b6a7-5a0049a7547c","html_url":"https://github.com/markusand/Tiles","commit_stats":null,"previous_names":["markusand/tiles"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markusand/Tiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusand%2FTiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusand%2FTiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusand%2FTiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusand%2FTiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markusand","download_url":"https://codeload.github.com/markusand/Tiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusand%2FTiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35861393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-24T02:00:07.870Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["processing"],"created_at":"2025-02-27T05:29:59.553Z","updated_at":"2026-07-25T00:31:17.822Z","avatar_url":"https://github.com/markusand.png","language":"Processing","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tiles\n\nTiles is a surface rendering grid for Processing, similar to first versions of SimCity, based on an external variable input\n\n## Setup\n\nTiles are defined as JSON objects in a file, with all properties including texture and color code.\n\n\t{\n\t\t\"id\": 0,\n\t\t\"name\": \"LAND\",\n\t\t\"aspect\": {\"render\": \"TEXTURE\", \"texture\": \"textures/land.png\" },\n\t\t\"colors\":[\"WHITE\", \"WHITE\", \"WHITE\", \"WHITE\"]\n\t}\n\n\nColors are also defined as JSON object in a file. Colors file must be shared both this sketch and reader sketch\n\n\t{\n\t\t\"id\": 0,\n\t\t\"name\": \"WHITE\",\n\t\t\"value\": {\"original\": \"#FFF2F3FF\", \"adjusted\": \"#FFF2F3FF\"},\n\t\t\"binary\": true\n\t} \n\n## Usage\n\t\nCreate a Tiles grid, specifying the settings files beforehand created. If no settings files are given, it will retrieve \"colors.json\" and \"tiles.json\" as default\n\n\tTableau tableau = new Tableau(\"colors.json\", \"tiles.json\");\n\t\n\t\nLoad input data whenever needed/desired (p.e. periodically or after a specific key press)\n\n\ttableau.update(msg);\n\t\t\n\nDraw Tiles at given location and tileSize\n\n\ttableau.draw(width/2, height/2, 80);\n\n\n## Message format\n\n*msg* is a JSON object containing the grid structure and an array with every tile properties\n\n\t{\n\t\t\"properties\": {\n\t\t\t\"columns\": 3,\n\t\t\t\"rows\": 3\n\t\t},\n\t\t\"tiles\": [\n\t\t\t{\n\t\t\t\t\"x\": 0,\n\t\t\t\t\"y\": 0,\n\t\t\t\t\"name\": \"LAND\",\n\t\t\t\t\"rotation\": 0\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"x\": 1,\n\t\t\t\t\"y\": 0,\n\t\t\t\t\"name\": \"ROAD_X\",\n\t\t\t\t\"rotation\": 0\n\t\t\t},\n\t\t\t...\n\t\t]\n\t}\n\n\n## License\n\nTiles is released under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkusand%2Ftiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkusand%2Ftiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkusand%2Ftiles/lists"}