{"id":19273920,"url":"https://github.com/ninivert/n-dimension-cube-renderer","last_synced_at":"2025-07-30T09:04:14.432Z","repository":{"id":128920053,"uuid":"146011546","full_name":"ninivert/N-Dimension-Cube-Renderer","owner":"ninivert","description":"Renderer and custom matrix library for mutli-dimensional cubes","archived":false,"fork":false,"pushed_at":"2018-08-26T20:14:41.000Z","size":51,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-21T22:36:40.537Z","etag":null,"topics":["animation","cube","dimensions","hypercube","renderer","tesseract"],"latest_commit_sha":null,"homepage":"https://ninivert.github.io/N-Dimension-Cube-Renderer","language":"JavaScript","has_issues":false,"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/ninivert.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-24T15:55:33.000Z","updated_at":"2023-04-13T06:26:57.000Z","dependencies_parsed_at":"2023-03-24T04:47:44.463Z","dependency_job_id":null,"html_url":"https://github.com/ninivert/N-Dimension-Cube-Renderer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ninivert/N-Dimension-Cube-Renderer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninivert%2FN-Dimension-Cube-Renderer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninivert%2FN-Dimension-Cube-Renderer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninivert%2FN-Dimension-Cube-Renderer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninivert%2FN-Dimension-Cube-Renderer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ninivert","download_url":"https://codeload.github.com/ninivert/N-Dimension-Cube-Renderer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninivert%2FN-Dimension-Cube-Renderer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267842974,"owners_count":24153133,"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-07-30T02:00:09.044Z","response_time":70,"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":["animation","cube","dimensions","hypercube","renderer","tesseract"],"created_at":"2024-11-09T20:44:29.861Z","updated_at":"2025-07-30T09:04:14.350Z","avatar_url":"https://github.com/ninivert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nth Dimention Cube Renderer\n\n## What is this ?\n\nRendering variations of the cube in multiple dimentions, using a custom high-perf vanilla-JS matrix library.\n\nI tried my best to document the source code (src directory) as well a possible.\n\nLink to the Daniel Shiffman's video that inspired me to do this: [The Coding Train - Coding Challenge #113: 4D Hypercube](https://www.youtube.com/watch?v=XE3YDVdQSPo).\n\n[Live Demo here! (it runs in your browser)](https://ninivert.github.io/N-Dimension-Cube-Renderer/).\n\n## Running this locally\n\nRun this command in your desired folder (git required):\n\n```\ngit clone https://github.com/ninivert/N-Dimension-Cube-Renderer.git\n```\n\nOr download it from the GitHub page directly.\n\nThen open `docs\\index.html` in a modern browser (tested on Firefox, Chrome and Chrome mobile).\n\nDevelopment with node.js:\n- `npm install` to install the needed development dependencies.\n- `npm run start` and visit `localhost:8080` in your browser.\n- `npm run dev` to watch and compile changes you make automatically.\n\n## About the 10 dimensions limitation\n\nThe live demo renders up to 10 dimensions because of performance limitations (things get laggy with 1024 vertices on a `CanvasRenderingContext2D`!), but there is no theoretical limitation to how far you can go. To render more than 10 dimensions, change the max clamp value in line 173 of `src\\scripts\\controls.js`!\n\n## Optimizations\n\nI could create an object pool for the matrices (JS memory heap graph is _very_ spikey) but that would make the code a lot less readable, and the framerate hits 60 fps consistently on all tested devices for dimensions less than 6, so I'm not really bothered by it.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninivert%2Fn-dimension-cube-renderer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fninivert%2Fn-dimension-cube-renderer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninivert%2Fn-dimension-cube-renderer/lists"}