Component packs › Interlude › Rolling Cube
A machined block tips slowly past its balance point, falls onto the next tile and settles, its marked face travelling round with each roll.
Rolling Cube is a loader from Interlude, a component pack with 8 loaders: Eight loaders that are real machines: pendulums, a gyroscope, a Ferris wheel, a juggler. Price: $2 for the whole pack.
Built with: 3D cube with back-face culling, tip, fall and settle timing, camera follows on a tiled floor.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
Good for: Skeuomorphic UI.