Create a grid background for a motion capture studio, written as one WebGL fragment shader that ray casts a simple room: a floor, a back wall 14 units away and a ceiling 5 units up, seen from a camera 1.7 units high. Draw antialiased grid lines with fwidth: steel blue (#597ab0) major lines every unit, fainter quarter lines on the floor, a sparser ceiling grid with pulsing red camera lamps and a row of red lights on the back wall. A scan travels away across the floor every few seconds: a band of orange red (#ff5a36) lines with a fading trail and floor glow, plus a translucent sheet of light rising from it and fading with height. Fade everything with distance. The pointer places a glowing marker ring on the floor, found by casting the same ray in JavaScript, and turns the camera slightly; a HUD reads its position in metres. A click or tap sends a pulse ring outward from the marker. After 2.5s idle the marker wanders. Copy centred: a monospace label "Larkspur capture stage" with a blinking dot, an 84px headline "Capture the move once, use it in every shot" with the second half in orange (#ff7a52), one line and two buttons. Dim the room behind the copy and fall back to a CSS perspective grid without WebGL.
Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.
Use it in three steps
- Copy the prompt with the button above.
- Paste it into your AI site builder, or any AI chat that writes code.
- Make it yours by changing the grid and scan colours to match your own stage.
About this grid background
Step inside this grid background, because it is a room rather than a pattern. Steel blue grid lines run across the floor, up the back wall and over the ceiling of a motion capture stage, with small red camera lamps glowing overhead and along the far wall. Every few seconds a scan moves away from you across the floor: a band of orange red lines with a fading trail, and above it a translucent sheet of light that rises from the floor and fades towards the ceiling, as if the stage is measuring itself.
Your cursor places a glowing marker ring on the floor, and a readout in the corner gives its position in metres. Click and a pulse rolls out from the marker. The room is ray cast in a single shader, so there is no 3D library. The same ray maths runs in JavaScript to find where the pointer meets the floor, which is why the marker sits exactly under it.
Why the prompt works
- It defines the room in units, floor, wall and ceiling distances.
- It uses fwidth for every grid line, so they stay crisp into the distance.
- It adds a light sheet, which turns a line into a real scan.
- It reuses the ray in JavaScript for an accurate marker.
Where to use it
Capture studios, game and film tech, robotics, sports science and any product about precise measurement.
The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.