--- # edu-exby title: 'ยง15 Exercise 5: GPU-accelerate a particle simulation' status: todo type: task created_at: 2026-03-13T19:55:05Z updated_at: 2026-03-13T19:55:05Z parent: edu-4u7w --- Write the compute shader exercise: implement an N-body or simple gravity particle simulation. Store particle positions and velocities in storage buffers, update them in a compute shader each frame, render the result as points. Part 5 of the Shader Programming chapter.