Skip to content

KennethChilds/zig-revolution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Celestial body revolution in Zig using Raylib

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published