Build an op art pattern background for a gallery exhibition page, drawn with a WebGL fragment shader. Paper (#f1ece1) with near black ink (#15140f) stripes, one stripe every 16px (13px on phones), running vertically but bent by two slow sine waves so the whole field ripples like a sixties canvas. Vary the stripe thickness in travelling waves between 14% and 90% of each period, and thin every stripe to a hairline, then to nothing, around the text box so the copy sits on clean paper. Antialias the stripe edges in the shader using the known number of stripes per pixel, and fade to flat grey where stripes would get thinner than a pixel, so there is no moire. The pointer is a magnifying lens: stripes nearby bulge outward and turn vermilion (#d63b22). Clicking or tapping swells the lens, which then eases back over about a second. With no input for 2.5s the lens drifts on a slow loop, which also covers touch screens. Copy: a vermilion uppercase label "Hallam Gallery, until 2 August", an 86px serif headline "Paintings that refuse to sit still" with "refuse" in italic, one grey line and a square black "Book timed tickets" button that turns vermilion on hover and #a82d18 when pressed. Render at device resolution up to 2x, show a CSS repeating gradient fallback without WebGL and freeze on one 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.
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 ink and accent colours and the stripe spacing.
About this op art pattern
An op art pattern uses nothing but stripes to make a flat surface look like it is moving, and here it really is. Black lines on warm paper bend in two slow waves, while their thickness swells and thins in bands that travel across the screen. Your cursor acts as a lens: the stripes beneath it bulge outward and turn vermilion, then settle back as you move on. Click and the lens swells for a moment.
Fine stripes are hard to draw well on screens, because they shimmer into moire. The shader avoids that by smoothing each edge across exactly one pixel and fading to flat grey wherever the lines would get too thin to show. Around the headline every stripe thins to a hairline and then disappears, so the text sits on clean paper while the pattern still frames it.
Why the prompt works
- It defines stripe spacing and thickness in numbers, so the rhythm is right.
- It names the moire problem and how to solve it.
- It clears the paper behind the copy instead of covering it with a box.
- It gives the lens a touch fallback, a slow drift.
Where to use it
Galleries, design festivals, fashion and music launches, and editorial covers that want a bold graphic opening.
The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.