{"id":19484544,"url":"https://github.com/amir-kedis/c-3dcube","last_synced_at":"2026-06-10T22:31:10.269Z","repository":{"id":241702179,"uuid":"807214634","full_name":"amir-kedis/C-3dCube","owner":"amir-kedis","description":"3D cube rotating in 3D in C lang made as a from of escapism of my final exams","archived":false,"fork":false,"pushed_at":"2024-05-29T05:22:55.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-18T22:16:13.846Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/amir-kedis.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":"2024-05-28T17:13:02.000Z","updated_at":"2024-05-29T05:25:17.000Z","dependencies_parsed_at":"2024-05-29T19:25:39.059Z","dependency_job_id":null,"html_url":"https://github.com/amir-kedis/C-3dCube","commit_stats":null,"previous_names":["amir-kedis/c-3dcube"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amir-kedis/C-3dCube","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amir-kedis%2FC-3dCube","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amir-kedis%2FC-3dCube/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amir-kedis%2FC-3dCube/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amir-kedis%2FC-3dCube/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amir-kedis","download_url":"https://codeload.github.com/amir-kedis/C-3dCube/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amir-kedis%2FC-3dCube/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34174148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":"2024-11-10T20:22:32.070Z","updated_at":"2026-06-10T22:31:10.252Z","avatar_url":"https://github.com/amir-kedis.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 3D cube rotating in space written in C with raylib\n\n\u003e [!IMPORTANT]\n\u003e This project and other similar ones are made as a form of escapism from my final exams in college **Series now includes: Conway game of life, 3D cube**\n\n\n### first try\nhttps://github.com/amir-kedis/C-3dCube/assets/88613195/712bb6a3-8217-4692-8524-5a219ebec97e\n\n- here I tried to control the object's rotation by changing the Carizian coordinates which didn't give me the results I wanted for rotation.\n\n\n\n### second try\nhttps://github.com/amir-kedis/C-3dCube/assets/88613195/2a312801-45dc-4a2f-bb76-9bb8c01c8f2c\n\n- after that, I made a coordinate transformation using spherical coordination, which worked better.\n- ![image](https://github.com/amir-kedis/C-3dCube/assets/88613195/0055dfea-65f0-42c2-9fb6-e3e74e64f70c)\n\n\n## Controls\n\n- `D` and `A` -\u003e change  theta -\u003e rotate around the y-axis (left-right)\n- `W` and `S` -\u003e change  phi   -\u003e rotate around the x-axis (up-down)\n- `Q` and `E` -\u003e change  r     -\u003e change the magnitude (zoom)\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famir-kedis%2Fc-3dcube","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famir-kedis%2Fc-3dcube","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famir-kedis%2Fc-3dcube/lists"}