/cloth_simulation_pygame_pymunk

Rudimentary cloth simulation using pygame and pymunk

Primary LanguagePython

cloth_simulation_pygame_pymunk

A rudimentary cloth simulation using pygame and pymunk

cloth_sim_pygame_pymunk_demo.mp4

Controls

General Controls:
  • "R" to Reset
  • "I" to apply an Impulse (to the right)
  • "P" to apply a random impulse to each node
  • "T" to toggle Trails
Time Controls:
Conceptual model:
Imagine time moving from left to right. 'd' speeds up time to the right, and 'a' slows it down.

(Note: reversing time is not currently supported)

  • "D" to increase FPS
  • "A" to decrease FPS
  • "SPACE" to Stop time