{"id":18469799,"url":"https://github.com/valen-h/3d","last_synced_at":"2025-05-11T21:39:59.018Z","repository":{"id":143795680,"uuid":"155961945","full_name":"Valen-H/3D","owner":"Valen-H","description":"A 3D framework with 2D projection for ES5+","archived":false,"fork":false,"pushed_at":"2020-03-12T15:29:58.000Z","size":87,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-09T01:55:04.693Z","etag":null,"topics":["2d","3d","canvas","graphics","js","no-webgl","web"],"latest_commit_sha":null,"homepage":"https://valen-h.github.io/3D/3D.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Valen-H.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":"2018-11-03T07:49:19.000Z","updated_at":"2025-02-22T11:03:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"33c15a7e-ae39-4189-9514-9cd145fa8bec","html_url":"https://github.com/Valen-H/3D","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valen-H%2F3D","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valen-H%2F3D/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valen-H%2F3D/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valen-H%2F3D/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Valen-H","download_url":"https://codeload.github.com/Valen-H/3D/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253480861,"owners_count":21915249,"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":["2d","3d","canvas","graphics","js","no-webgl","web"],"created_at":"2024-11-06T10:11:49.083Z","updated_at":"2025-05-10T20:33:03.098Z","avatar_url":"https://github.com/Valen-H.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 3D  \nA 3D framework with 2D projection for ES5+. Sample: https://valen-h.github.io/3D/3D.html  \n  \n**Sick and tired of your old mobile not being able to use WebGL? ... No More!**  \n  \n## Usage  \n```javascript\nvar map = new D3Map(500); /* the only parameter is the distance of the camera from the center of the plane (Z-pivot)  */\nmap.add(50, 50, 50); /* add a new 3d point to the map, returns a D3Vertex  */\n/**\n * The D3Vertex object contains the ed projected coordinates of the point as vtex.coords and the 2d projection as vtex.coord2d.\n * The D3Map object contains the methods `map.translate(x, y, z)` and `map.rotate(x, y, z)` for controling the camera and others like `segmentConnect(vertices, context2d)` for line carving.\n * There's also a hidden D3Cube struct for convenience and D3Vertex operations such as `dot(vertex)` or `clip(relativeVertex)`...\n * Thats it! you can start making your own structures out of those points! read the `.js` files for more documentation...\n*/\n```  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalen-h%2F3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalen-h%2F3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalen-h%2F3d/lists"}