Skip to content

gecitemre/web-gravity

Repository files navigation

web-gravity

CodeQL Badge

Gravity simulator. The web version of my previous program, which was written in Python.

GitHub Pages Link

Simulates the interaction of round entities on a 2D plane, implementing collision and gravitational physics. Coded with vanilla HTML/CSS/JavaScript, and math.js

Usage

Left-click to create a new planet, press to hold a planet, right-click to delete planet, and scroll when your cursor is on a planet to feed or shrink a planet.

About

Gravity simulator running on browsers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published