ExamplesCanvas

#CanvasGitHub

A bouncing balls animation showing how to reach the raw Canvas API through a component Ref, and how to drive requestAnimationFrame from OnMounted while cleaning it up on unmount. The simulation lives in a plain class so it stays testable and platform independent.

#Demo

Bouncing Balls

Balls: 0