Skip to content

ItsPepperpot/particle-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

A particle simulator for HTML5 canvas.

Description

A 2D particle simulator with support for elastic collisions, particle path drawing, simulated gravity and random (Brownian) motion.

Future Improvements

  • Add time-based physics simulation instead of frame-based ✔
  • Add quadtree algorithm for interparticle collisions
  • Simulate physics independently of frame-rate
  • Add gravitational force between particles

Attribution

Alata: Copyright 2019 The Alata Project Authors (https://github.com/SorkinType/Alata)