{"id":33161154,"url":"https://github.com/patsie75/awk-3d","last_synced_at":"2025-11-20T15:01:56.980Z","repository":{"id":119517788,"uuid":"211807149","full_name":"patsie75/awk-3d","owner":"patsie75","description":"Draw 3D objects on your terminal with awk","archived":false,"fork":false,"pushed_at":"2020-04-07T21:02:25.000Z","size":144,"stargazers_count":22,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-25T20:00:41.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Awk","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/patsie75.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-09-30T08:00:18.000Z","updated_at":"2024-03-27T06:01:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8fdb49c-ed00-4d2f-a8d0-3f16513dfa84","html_url":"https://github.com/patsie75/awk-3d","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/patsie75/awk-3d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patsie75%2Fawk-3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patsie75%2Fawk-3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patsie75%2Fawk-3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patsie75%2Fawk-3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patsie75","download_url":"https://codeload.github.com/patsie75/awk-3d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patsie75%2Fawk-3d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285456403,"owners_count":27174883,"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","status":"online","status_checked_at":"2025-11-20T02:00:05.334Z","response_time":54,"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":[],"created_at":"2025-11-15T22:00:30.984Z","updated_at":"2025-11-20T15:01:56.974Z","avatar_url":"https://github.com/patsie75.png","language":"Awk","funding_links":[],"categories":["Books"],"sub_categories":[],"readme":"A new project I got into after a colleague challenged me to 'draw more graphs' in my awk one-liners\u003cbr\u003e\n\u003cp\u003e\nWell, not really a graph, but it did sattisfy him to see some 3D models bouncing around a terminal.\n\u003cp\u003e\nIt can draw 3D models in your terminal, using a model file in the 'models' folder.\u003cbr\u003e\nA model file understands four types of lines:\u003cbr\u003e\n\n- var \u0026lt;key\u0026gt; \u0026lt;value\u0026gt;\n- col \u0026lt;red\u0026gt;;\u0026lt;green\u0026gt;;\u0026ltblue\u0026gt\n- vert \u0026lt;x-coord\u0026gt; \u0026lt;y-coord\u0026gt; \u0026lt;z-coord\u0026gt;\n- tri \u0026lt;vertex1\u0026gt; \u0026lt;vertex2\u0026gt; \u0026lt;vertex3\u0026gt; [\u0026lt;color\u0026gt;]\n\nThe 'var' keyword sets a value to a variable (key). This variable can then be used in the 'vert' and 'edge' definitions\u003cbr\u003e\n\u003cp\u003e\nThe 'col' keyword defines a 'color' the red, green and blue values range from 0 to 255\u003cbr\u003e\n\u003cp\u003e\nThe 'vert' keyword defines a 'vertex' (a point in 3D space) with an X, a Y and a Z coordinate\u003cbr\u003e\n\u003cp\u003e\nThe 'tri' keyword connects three vertices into a triangle (in a certain color)\u003cbr\u003e\n\u003cp\u003e\nThis is a first attempt to draw things in 3D space, so I hope to spend some more time refining everything\u003cbr\u003e\n\u003cp\u003e\nHere's a screenshot:\u003cbr\u003e\n![](https://raw.githubusercontent.com/patsie75/awk-3d/master/icosahedron.png)\n\nSee youtube for a moving example: https://youtu.be/snj8Nl8pC6E or https://youtu.be/cNM4f10IZWQ\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatsie75%2Fawk-3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatsie75%2Fawk-3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatsie75%2Fawk-3d/lists"}