Skip to content

dlombardi/space-simulator

Repository files navigation

Gravity Simulator and Planet Creation Sandbox

alt text


Inspired by this gravity simulator authored by u/briandoesCode

This sandbox bases animations and interactions on formulas derived from Newton's law of universal gravitation.

My twist was to accurately generate planets along with all of their properties using elements from the periodic table.

Every click generates a planet with a randomly generated composition of elements that produce realistic values for mass, volume, and radius.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages