
How to Use
• Click anywhere on the canvas to create gravitational objects • Use the control panel (top-left) to customize new objects before placing them: - Size: Controls object radius - Density: Affects mass and gravitational pull - Color: Changes object appearance • Objects automatically attract each other based on gravitational forces • Larger and denser objects exert stronger gravitational pulls on nearby objects • Watch as objects orbit, collide, or get pulled together based on their mass and distance • The simulation runs continuously - objects will keep moving and interacting • Mass is calculated as density × radius², so both size and density affect gravitational strength • Objects closer together experience stronger gravitational forces