Skip to content

flpymonkey/Particle-Simulator

Repository files navigation

Particle Simulator based on Peter's physics simulation (http://www.petercollingridge.co.uk/pygame-physics-simulation/creating-pygame-window)

Requires Python 3.4 and Pygame 1.9.2

Run the ParticleSimulator.py script to begin the simulation.

Left click and hold a particle to grab, move, or throw it. Right click displays menu at cursor with various options.

origin/right-click-menu Hold spacebar to make the mouse cursor the center of gravity. 'W' 'S' 'E' 'D' keys change the magnitude of gravity. 'R' inverts the gravity from positive to negative 'C' stop the background from blitting each frame. 'P' pauses simulation

About

A particle simulator with particle mass, gravity, collisions, and fun.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages