Build a prismatic light burst background for a diamond grading laboratory, written as one WebGL fragment shader at 60% resolution. From a bright white centre, radiate five layers of sharp rays made from sine functions of the angle raised to high powers (7, 13, 23, 5 and 31 rays turning slowly at different speeds). Sample the rays six times across the spectrum, offsetting the angle by distance from the centre, so every ray splits into red, gold, green, blue and violet fringes like diamond fire. Add a rainbow halo ring and a cross shaped flare over near black (#07060b). The burst centre follows the pointer at 38% of the way and spins slightly as it moves; pressing or touching widens the dispersion and brightens everything, and a click sends a spectral ring rippling outwards. Overlay a thin white SVG outline of an octagonal cut gem at 50% opacity that rides on the centre and rotates with it. After 2.5s idle the centre drifts and a ring pulses every 4.5s. Darken the shader to 35% behind the copy with a rounded box mask. Copy: a small gem icon and label "Brightcut gem laboratory", an 84px serif headline "Every diamond scatters light its own way" with the last three words in a pastel spectrum gradient and a white "Send us a stone" pill. Draw one still frame 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 light burst
This light burst behaves like light passing through a cut stone, the fire you see when a diamond turns. Rays of several widths spin slowly out of a hot white centre, and each one separates into red, gold, green, blue and violet towards its edges, the effect jewellers call fire. A faint rainbow halo circles the centre, a cross shaped flare sits on top and a thin outline of an octagonal gem turns with it.
The shader draws the rays six times, once for each slice of the spectrum, and nudges each slice a little further round the further it is from the centre. That small offset is all it takes for white to break into colour at the tips. The burst follows your cursor part of the way, pressing spreads the colours wider, and a click sends a ring of spectrum outwards.
Why the prompt works
- It explains the dispersion trick, six spectral samples offset by distance.
- It lists the ray counts, so the pattern never looks regular.
- It keeps the copy readable with a rounded mask that dims the burst behind it.
- It adds a gem outline, which tells you what the light is coming from.
Where to use it
Jewellers, gem labs, optics brands, launch pages and celebratory heroes that want sparkle with some science behind it.