{"id":35248319,"url":"https://github.com/nukep/rust-cubes-demo","last_synced_at":"2026-04-06T06:31:41.914Z","repository":{"id":23466826,"uuid":"26831070","full_name":"nukep/rust-cubes-demo","owner":"nukep","description":"OpenGL tech demo in Rust","archived":false,"fork":false,"pushed_at":"2024-10-16T20:12:44.000Z","size":659,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T12:13:45.429Z","etag":null,"topics":["glsl","miniquad","opengl","rust","webassembly"],"latest_commit_sha":null,"homepage":"https://www.otterstack.com/rust-cubes-demo/","language":"Rust","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/nukep.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":"2014-11-18T21:34:24.000Z","updated_at":"2024-10-16T20:12:49.000Z","dependencies_parsed_at":"2022-08-22T00:30:48.789Z","dependency_job_id":null,"html_url":"https://github.com/nukep/rust-cubes-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nukep/rust-cubes-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukep%2Frust-cubes-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukep%2Frust-cubes-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukep%2Frust-cubes-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukep%2Frust-cubes-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nukep","download_url":"https://codeload.github.com/nukep/rust-cubes-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukep%2Frust-cubes-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31463012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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":["glsl","miniquad","opengl","rust","webassembly"],"created_at":"2025-12-30T06:11:35.434Z","updated_at":"2026-04-06T06:31:41.909Z","avatar_url":"https://github.com/nukep.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Cubes Demo\n\nThis is a simple tech demo I wrote so I could learn Rust back in 2015.\nIt originally used SDL2 and OpenGL 3, but now uses [miniquad](https://github.com/not-fl3/miniquad/) and is OpenGL ES compatible. As a result, it now run in WebAssembly!\n\n## Controls\n\nUse your mouse to hover over and explode subcubes.\n\n* Left click: Explode (subdivide) hovered subcube\n* Right click: Rearrange all subcubes into their original positions\n* Middle drag: Rotate view\n* Mouse wheel: Zoom in/out\n* Space: Hurl all subcubes outward\n* \"O\" key: Toggle outlines\n* \"R\" key: Reset to a single subcube\n\n## Screenshots\n\n![Screenshot 1](screenshots/screenshot1.png)\n![Screenshot 2](screenshots/screenshot2.png)\n\n## Build instructions\n\nInstall Rust and Cargo using rustup: https://www.rust-lang.org/learn/get-started\n\nThen build the project and run it:\n\n```sh\ncargo build\ncargo run\n```\n\n## My impression of Rust (2015)\n\nThe experience I had with Rust was mostly pleasant.\nIt's a serious breath of fresh air, having done similar projects in C++.\nThe only caveat for me so far is the language's infancy and frequent changes\nin Rust nightly. This will obviously go away over time, when Rust reaches 1.0 in\na few months.\n\nI recommend Rust for _anybody_ who is familiar with C or C++.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnukep%2Frust-cubes-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnukep%2Frust-cubes-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnukep%2Frust-cubes-demo/lists"}