A small interactive toy where you split cubes by moving your mouse over them.
Each cube divides into 4 smaller ones, filling the same space. Keep going until the whole board is covered in tiny colorful squares. Every split comes with a smooth animation, a burst of particles, and a satisfying bloop sound.
It's meant to be a calm, visually pleasing experience — no score, no timer, just cubes.
Move your mouse across the canvas to split cubes. Click anywhere first to enable sound.
| Button | Action |
|---|---|
| 🔊 / 🔇 | Toggle sound |
| ↺ | Reset the board |
index.html
css/style.css
js/
config.js constants
helpers.js math utilities
state.js global state and canvas setup
audio.js sound synthesis (Web Audio API)
color.js color generation per cube
particles.js particle system
cubes.js cube tree, split logic, animations
celebration.js max depth victory effect
render.js all drawing functions
main.js game loop, events, init