This is the second version of bounce. In college, John Allwine recreated his original bounce program in 3D. You can try it out by downloading it and using the controls below:


  • Basic Controls
    • left click + drag – create a ball with a radius
    • left click + drag a ball- drags the ball, when released the ball has a velocity depending on the speed it was thrown
    • after creating a ball another left click is required to set the ball’s velocity
    • Shift-left click selects a ball
    • Ctrl-left click toggles the selection of a ball
    • Space – pause/unpause the simulation
    • a – add a ball with random radius and velocity to the scene
    • A – toggles drawing the axes
    • backspace – deletes the last created ball
    • delete – deletes all selected balls
    • 0 – deletes all the balls
    • Ctrl-0 – stops every ball (sets their velocity to zero)
    • v – toggle drawing the velocity vectors
    • g – toggle drawing the grid
    • C – toggle drawing the cursor
    • s – toggle snapping cursor to the grid
    • S – toggle drawing shadows
      (severely slows down the simulation, especially with multiple lights. I recommend using [ to decrease the ball quality)
    • n – steps the simulation a small amount of time
    • [ – decreases the ball quality
    • ] – increases the ball quality

  • Advanced Controls
    • l – change to light mode
      In light mode left clicking will create a light rather than a ball.
      Also delete and backspace will delete the last light created rather than delete balls.
      The maximum number of lights is 7.
    • b – changes to ball mode (the default)
    • Shift-number (1-9) – saves the state of the balls to that number
    • number (1-9) – loads the state of the balls saved to that number
    • Middle click + drag – scales the box in the x, y, or z direction
    • x – makes middle click scale in the x axis
    • y – makes middle click scale in the y axis
    • z – makes middle click scale in the z axis

  • Camera Controls
    • right click + drag – perform camera transform
    • R – puts camera control in rotation mode
    • Z – puts camera control in zoom mode
    • P – puts camera control in pan mode
    • r – resets the camera
    • c – after selecting two balls, locks the camera on one ball and focuses on the other
    • c – after selecting one ball, focuses the camera on the ball

Leave a Reply

Your email address will not be published. Required fields are marked *

five − 4 =