Build a ring animation background for a circus school aerial hoop class, drawn as one WebGL fragment shader over a deep plum radial gradient (#2a1238 to #140b1f). Show seven thin glowing rings, all centred at 30% across on desktop and shrinking by 11.5% each, every one tilted in 3D: work out its normal from two rotation angles in JavaScript and pass the projected ellipse axes to the shader, which measures exact distance to each ellipse. Colour the rings from hot pink (#ff4fa3) through amber (#ffb347) to teal (#43e0d0). The half of each ring nearer the viewer is brighter and thicker, a white highlight runs round each ring, and colours add with a soft exponential tone curve. The pointer tilts the whole set; a click or tap spins the rings one after another, 70ms apart, with a flare that fades. After 2.5s idle the tilt drifts on its own. On phones centre the rings behind the copy and dim them there. Copy on the right: an amber label "Cartwheel circus school", a 78px headline "Hang upside down by the end of term" with the last four words in pink outline text, one line, a pink to amber pill "Book a taster, £18", an outlined pill and three small facts. Fall back to CSS rings and freeze for reduced motion.
Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.
About this ring animation
Built for a circus school that teaches aerial hoop, this ring animation fills a whole hero. Seven thin rings of light hang in the air, nested one inside the next, each tilted at its own angle so together they look like a gyroscope of neon hoops. The half of each ring that faces you is brighter and slightly thicker, which is all the eye needs to read depth, and a white highlight slides round every hoop.
Move the cursor and the whole set tilts towards it. Click and the rings spin one after another, each kicked 70 milliseconds after the last, then slow down on their own. The 3D work happens in JavaScript: each ring gets a normal from two angles, and the shader only receives the flattened ellipse, measuring the exact distance to it so every line stays crisp and evenly glowing at any tilt.
Why the prompt works
- It splits the work, rotation in JavaScript and exact ellipse distance in the shader.
- It brightens the near half so the rings read as 3D.
- It staggers the spin, which is what makes a click feel playful.
- It moves the rings behind the copy on phones and dims them there.
Where to use it
Circus and dance schools, gyms, music festivals, jewellery and any bold, night time launch.