Gravity Gallery
Controls
Gravity Gallery
Drop image-filled squares or circles into a Matter.js physics world with gravity, walls, and click-drag tossing.
KEY FEATURES
- — Real Matter.js rigid-body simulation with falling, colliding bodies
- — Fill bodies with your own uploaded images, cycled across the count
- — Choose circle or square body shapes
- — Adjustable body count and pixel size
- — Tune gravity direction and strength on X and Y axes
- — Click and drag bodies with configurable stiffness and angular stiffness
- — Toggle top, bottom, left, and right boundary walls independently
- — Friction control for how quickly bodies settle
- — Solid color fallback fill when no image is supplied
API Reference
All props map directly to the controls panel sliders and color pickers.
LAYOUT
COLORS




