Explosion Sandbox Coursework

Project Description

I was part of a group of 3 to create this physics demo. We chose to explore explosions and so create a simple explosion sandbox demo. The demo works by sending rays out from an explosion block, if a ray hits another box it will apply a force in the direction of the ray to the block based on how far away the block was from the explosion. Blocks have a mass and center of gravity so can fall if they are stacked and not balanced. The user can select and drag blocks around the screen to setup situations to try the demo.



  • Design
  • Screen and input management
  • Object picking


  • C++
  • OpenGL
  • SDL