Summary

This is my implementation of "Particle Life". In Particle Life each particle has a color and each color has a specific attractive (or repulsive) force to each other color. From this basic set of rules emerges amazing patterns.

Hot Tip: The attraction distance has the biggest impact on performance. So if you want more particles and start to experience an FPS hit, I would suggest lowering the attraction distance.

Implemented using JavaScript and HTML

Controls

  • Particle Count: Sets how many particles will exist in the simulation
  • Attraction Distance: Sets how far the attractive forces will extend. Attractive forces are inversely proportional to distance (1/distance)
  • Universal Attraction: Sets the amount each particle is attracted to every other particle
  • Colors: Sets how many colors will exist in the simulation
  • Randomize: Randomizes the attractive forces
  • Attraction Table: Sets the attractive forces between particles based on color. Click the right side of each button to increment attraction and the left side to decrement attraction.  The table can be read as row color has an attractive force to column color equal to value  (i.e., row labeled with yellow has an attractive force to column labeled with green equal to 0.6)
StatusReleased
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorJust Mr. Sir
GenreSimulation
Tags2D, Casual, Endless, Indie, Life Simulation, Relaxing, Short, Singleplayer

Leave a comment

Log in with itch.io to leave a comment.