Particle Simulator Link to this heading

Built in Haskell Link to this heading

Description Link to this heading

This particle simulator, built in Haskell using the Gloss library, visualizes a dynamic system where particles move continuously, bouncing off both the walls of the environment and each other. Each interaction follows simple physical rules, creating an engaging display of motion and collision behavior. The simulation also includes a real-time frames-per-second (FPS) counter at the top of the screen, providing insight into performance as the system runs. Additionally, the number of particles in the simulation can be easily adjusted from the main function, allowing for experimentation with different levels of complexity.

Dependencies Link to this heading

  • Gloss
  • Cabal
  • Linear