This Zig project implements a basic orbital revolution simulation with raylib-zig bindings
The simulation models objects moving in circular orbits, a fundamental concept in celestial mechanics. Key aspects of the implementation include:
An orbital revolution is represented by:
- Position (x, y coordinates)
- Angular velocity (rate of rotation)
- Radius of orbit
- Current angle
To run the project, use the following command:
git clone https://github.com/KennethChilds/zig-revolution.git
cd zig-revolution
zig build run
Play around with values and watch what happens!