Project: Balls bounce

48.38% relative

Began in November 2019

This project is a small physics simulator which has balls that bounce over the page. This was made using JavaScript and the Canvas API.

Features

  • Customizable settings
    • Amount of balls
    • Trail level (motion effect)
    • Interaction modes (different color effects and physics effects from collisions)
    • Gravity level
  • URL query saves state and allows seamless sharing of settings
  • Option to go fullscreen and hide UI for an immersive background
  • A screenshot of the program which has 100 colorful balls spread across a black canvas. Layered on top are controls for ball count, trail level, interaction mode, and gravity level.
  • An animation of balls bouncing off of the floor with all other UI hidden