Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 570 Bytes

README.md

File metadata and controls

14 lines (7 loc) · 570 Bytes

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.