Simulation and graphics are often taught as separate disciplines: physics on one side, rendering on the other. In real-time engines, however, they are tightly connected stages of the same pipeline, with data moving from CPU to GPU in a predictable rhythm every frame.
Using the Particle Playground engine as a concrete example, this article examines the patterns that connect simulation, transformation, batching, and rendering into one coherent flow.