Build a curved text marquee for a ceramics studio open weekend. Clay page (#e6d8c6) and a cream card (#f3eadf, 28px radius) with a faint dotted glaze texture. Header: kicker "Margate Clay Works" in clay (#b5532f) and a serif headline "Open studio weekend" with "weekend" in italic clay. Across the full width of the card, two thick ribbons wave across each other in an SVG sized to the stage in real pixels: each ribbon is a sine wave with an amplitude of 30% of the stage height and a wavelength of 78% of its width, the second half a wave out of step, drawn as a smooth path and stroked twice as thick as the text. The front ribbon is clay with cream capitals "Kiln opens Friday, Seconds sale from 10am, Hand-thrown in Margate" and a soft drop shadow; the back ribbon is glaze blue (#2f5d7c) with "Glaze workshops, Wheel demos at noon, Tea in the yard". Repeat each phrase along a textPath and move startOffset every frame, measuring one repeat so it loops without a seam: the front at 62px a second, the back at 48px the other way. Hover slows both to 30%. Dragging sideways scrubs them in opposite directions and lets go with momentum, on touch too. Add a 48px pause button, a dark "Plan your visit" pill, 18px text on phones, and start paused 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 writing your own event news along the ribbons.
About this curved text
Curved text on the web is usually done with an SVG textPath, and once text follows a path you can move it along that path to make a marquee that bends. This card puts two ribbons across a ceramics studio announcement, one clay and one glaze blue, waving across each other like tape on a parcel, with each ribbon carrying its own line of news in the opposite direction.
The loop is seamless because the script measures one repeat of each phrase and wraps the offset at exactly that length. The paths are rebuilt in real pixels whenever the card changes size, so the lettering stays a readable 18 pixels on a phone instead of shrinking with the drawing. Hover slows the ribbons down to read them, dragging scrubs them like tape, and a pause button stops them completely.
Why the prompt works
- It defines the wave with an amplitude and a wavelength, not just “curvy”.
- It explains the seamless loop, one measured repeat moved through startOffset.
- It gives both speeds and directions, plus the hover slowdown.
- It includes a pause button, which moving text needs for accessibility.
Where to use it
Event banners, shop announcements, festival line-ups and section dividers. Keep each phrase short and punchy, because nobody reads a long sentence going round a bend.
The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.