Skip to content

Primordial Particle System

Math Chaos

The Primordial Particle System is a simple yet powerful simulation where large numbers of particles interact through basic steering behaviors, leading to the emergence of complex, lifelike multicellular structures.

PPS is based on the idea that biological-like complexity can emerge from very simple kinetic rules. Particles in the system move with a constant speed and adjust their heading based on the number and orientation of neighboring particles within specific sensing radii.

  • String Formation: Particles align to form long, flexible chains.
  • Cellular Clusters: Particles aggregate into stable, rotating or pulsating circular groups.
  • Self-Replication: Under certain parameters, clusters can exhibit behaviors similar to biological cell division.

Web-Based

Implemented using HTML5 Canvas and vanilla JavaScript for instant accessibility in any modern browser.

Interactive Controls

Real-time adjustment of parameters like sensing radius, rotation speed, and particle density.

Version Evolution

Includes multiple iterations (v1.0 to v5.2) showcasing the refinement of the algorithm and performance.

Physics Engine

Custom kinetic engine optimized for handling hundreds of particles simultaneously on the web.

Since this is a web-based project, no compilation is required.

  1. Open the Project Navigate to the Math_Chaos/Primordial-Particle-System directory.

  2. Launch the Simulation Open PPSv5.2.html in any modern web browser.

  3. Interact Use the on-screen controls (if available in the specific version) or modify the PPSv5.js constants to experiment with different behaviors.

  • PPSv5.js: The core simulation logic, including the spatial hashing and steering calculations.
  • PPSv5.2.html: The UI wrapper and rendering loop.
  • analysis.pdf: Detailed theoretical analysis of the system and its emergent properties.