{"id":25120140,"url":"https://github.com/kennethchilds/zig-revolution","last_synced_at":"2026-04-24T16:36:16.263Z","repository":{"id":276242379,"uuid":"927544288","full_name":"KennethChilds/zig-revolution","owner":"KennethChilds","description":"Celestial body revolution in Zig using Raylib","archived":false,"fork":false,"pushed_at":"2025-03-31T20:24:04.000Z","size":106920,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T21:27:42.173Z","etag":null,"topics":["physics-simulation","raylib-zig","zig"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KennethChilds.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":"2025-02-05T06:07:49.000Z","updated_at":"2025-03-31T20:24:32.000Z","dependencies_parsed_at":"2025-02-24T06:38:05.982Z","dependency_job_id":null,"html_url":"https://github.com/KennethChilds/zig-revolution","commit_stats":null,"previous_names":["kennethchilds/zig-revolution"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KennethChilds%2Fzig-revolution","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KennethChilds%2Fzig-revolution/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KennethChilds%2Fzig-revolution/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KennethChilds%2Fzig-revolution/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KennethChilds","download_url":"https://codeload.github.com/KennethChilds/zig-revolution/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246828477,"owners_count":20840474,"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":["physics-simulation","raylib-zig","zig"],"created_at":"2025-02-08T05:19:39.050Z","updated_at":"2026-04-24T16:36:16.258Z","avatar_url":"https://github.com/KennethChilds.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Orbital Revolution Simulation in Zig\n\n## Project Summary\n\nThis Zig and CPP project implements a basic orbital revolution simulation with [raylib-zig bindings](https://github.com/Not-Nik/raylib-zig) and the [raylib-cpp bindings](https://github.com/RobLoach/raylib-cpp), respectively.\n\n## Orbital Revolution\n\nThe simulation models objects moving in circular orbits, a fundamental concept in celestial mechanics. Key aspects of the implementation include:\n\n### Representation\n\nAn orbital revolution is represented by:\n- Position (x, y coordinates)\n- Angular velocity (rate of rotation)\n- Radius of orbit\n- Current angle\n\n## Usage\n\nTo run the zig project, use the following command:\n```sh\ngit clone https://github.com/KennethChilds/zig-revolution.git\ncd zig-revolution\nzig build run\n```\n\nTo run the cpp project:\n```sh\ncd cpp\ng++ main.cpp -o main -IC:\\raylib\\raylib\\src -LC:\\raylib\\raylib\\src -lraylib -lopengl32 -lgdi32 -lwinmm -lkernel32 -w; ./main\n```\n\nIf your `raylib` install is not in the `C:` drive, change the command as necessary.\n\nPlay around with values and watch what happens!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethchilds%2Fzig-revolution","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkennethchilds%2Fzig-revolution","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethchilds%2Fzig-revolution/lists"}