Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.
/ gravity-simulator Public archive

๐Ÿš€ A gravity simulator, built to understand how celestial bodies warp the fabric of space-time and interact with each other. Inspired by particle.js and the recently released photograph of a black hole by the EHT research group.

License

Notifications You must be signed in to change notification settings

abircb/gravity-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Gravity Simulator

A gravity simulator, built to understand how celestial bodies warp the fabric of space-time and interact with each other. Inspired by particle.js and the recently released photograph of a black hole by the EHT research group.

screenshot

Usage

Before using the simulator, define:

  • amountOfObjects - The number of objects to be rendered initially. I reccomend about 78-100. (Default: 100).
  • g - The gravitational constant. (Default: 0.4)
  • slowDown - A numerical factor used to slow down the animation. (Default: 26)

Demo

here

About

๐Ÿš€ A gravity simulator, built to understand how celestial bodies warp the fabric of space-time and interact with each other. Inspired by particle.js and the recently released photograph of a black hole by the EHT research group.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published