Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Canvas Gravity Demo

A simple HTML canvas experiment implementing gravity.

Setup

Run npm i to install dependencies, then run npm run dev to start a development server (likely at http://localhost:1234). Alternatively, npm build will bundle everything into /dist.

Usage

  • Up/Down arrows change the effect of gravity
  • Left/Right arrows change the bounce effect
  • Number keys (1-9) changes the number of balls
  • Space to reinitialize

License

Released under the MIT license - do whatever you wish with it.

Acknowledgement

Made with love by Michael Hamilton.

About

A simple canvas experiment with gravity

Resources

License

Releases

No releases published

Packages

No packages published