Back to projectsProject archive
Particles System Simulator
Particle simulator with interactive velocity and color controls, mouse-defined magnification zones, and record/replay support.
Context
Created as a simulation project in three phases, each one adding more direct control over particle behavior and more observable feedback.
Problem
The base simulator was visually active but limited in interaction, so the assignment focused on giving the user meaningful control over particle states and repeatable demos.
Solution
The project introduces keyboard controls for pause, velocity, and color cycling, a draggable rectangle that magnifies particles inside it, and a recording system that replays action sequences at fixed intervals.
Key decisions
- -Used simple single-key controls so behavior changes could be tested immediately.
- -Made the magnification mechanic region-based to connect mouse input with simulation state.
- -Blocked live input during replay so recorded sequences stayed deterministic.
Key features
- -Color cycling across all particles
- -Pause and velocity controls from the keyboard
- -Mouse-drawn rectangle for particle magnification
- -Recording indicator and replay indicator
- -Cancelable replay of saved interactions
Results
- -Turns a passive particle demo into a more controllable simulation tool.
- -Shows good handling of input, state playback, and visual feedback.
- -Adds another strong graphics-oriented archive project.
Stack
C++Physics SimulationGraphicsUser Interaction