Race-Track Speed Feature

Motion Components · Vol. 2

Component

Race-Track Speed Feature

A real-time three.js night circuit. Five cars warm up on neon rails; press start, watch the lights go out and our car fight from last to first. Click the track for a shockwave, move the cursor to light the asphalt.

Variants

Sizes and states, all built from the same markup.

Small card (timer-driven)
Default card (timer-driven)
Disabled

Usage

Paste the markup, include assets/css/tokens.css and assets/css/tailwind.css, then run the script from this page.

Accessibility