Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 737 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 737 Bytes

Orbital Revolution Simulation in Zig

Project Summary

This Zig project implements a basic orbital revolution simulation with raylib-zig bindings

Orbital Revolution

The simulation models objects moving in circular orbits, a fundamental concept in celestial mechanics. Key aspects of the implementation include:

Representation

An orbital revolution is represented by:

  • Position (x, y coordinates)
  • Angular velocity (rate of rotation)
  • Radius of orbit
  • Current angle

Usage

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!