FIG-001/ INERTIA

one velocity, natural stop.

Each button flings the ball with a different velocity. Inertia decelerates it, and a spring pushes it back inside the track when it would cross the wall.

  • The ball travels power × velocity before it stops.
  • min/max hand off to a boundary spring.
  • modifyTarget snaps the resting point to a grid.
↩ all examples
api · inertiainput · transition.typemode · live mode · live running source
// type: inertia x 0px
fling
power 0.8 · max 276px fast flings bounce off the wall
category · inertia
sheet · sheet 01 / 01
⟳ to re-run

inertia