Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of SVG Fundamentals

Public visualization

Viewing a saved revision (read-only)

463a61a534564e69ac35ad485e4ac95b

Fork of Fork of SVG Fundamentals

1 star0🌍 Public
CCurran Kelleher
Last edited Jun 26, 2026
Created on Jun 26, 2026

Falling blocks and circles tumble and bounce inside a rotating rectangular container rendered on an HTML canvas. Matter.js handles the 2D physics simulation, including gravity, collisions, and restitution, while a custom constraint system translates world coordinates into the box's local space to keep bodies within its moving walls. The box itself rotates continuously, creating shifting boundaries that redirect the objects' motion.

AI-generated description