Add a text scramble reveal to [the heading I point to] (letters churn through random characters and lock into place one by one, like a word being decoded). Behaviour: when the heading comes into view, every letter starts as a random character. From left to right, each slot keeps changing to another random character a few times, then locks to its real letter with a small stagger (about 40 to 60ms per letter, the whole heading in under a second and a half). Use random characters of roughly the same width as the final letter, so the text does not jump around or change its number of lines while it decodes. While decoding, the unlocked characters are shown at lower opacity, locked ones at full opacity. When everything is locked, a text cursor blinks twice at the end and disappears. Tech: plain JavaScript and requestAnimationFrame, no library. Keep the real text in the HTML and set aria-label, so screen readers and search engines read the final words, not the noise. Reserve the width so nothing shifts. Run it once per page view. With prefers-reduced-motion, show the final text immediately. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
Rotating text badge
A round seal with text running around a circle that slowly turns, like a stamp of approval.
This is the real effect. Scroll or move your mouse inside the frame to try it.
Add a rotating text badge to [the place I point to] (a round seal with text running around a circle that slowly turns). Markup: an inline SVG with a circle path and a <textPath> that follows it. The text is short and repeated to fill the full circle exactly. Calculate the letter spacing or font size so the end meets the start without a gap or overlap. In the middle sits a still centre with a simple icon or a short number. Behaviour: the text ring rotates slowly with a CSS animation (around 20 seconds per turn, linear, infinite) while the centre stays still. On hover the rotation speeds up a little and eases back afterwards (use the Web Animations API playbackRate for a smooth change). Accessibility: the SVG text is aria-hidden and the badge has a real label for screen readers. Make the text come from editable content, not hard-coded in the SVG. With prefers-reduced-motion, it does not rotate. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
What it is
A round seal with text running around it that slowly turns, with a still centre. It reads like a stamp of approval.
When it works
For a promise, a guarantee or a badge of quality. It works well next to a promise or a guarantee. A small moving detail that draws the eye to the one thing you want people to trust.
Get it right
- Make the text fill the circle exactly. A gap where the end meets the start looks sloppy.
- Slow. One turn every 20 seconds or so.
- Only the ring turns, the centre stays still.
Also called
- Circular text badge
- Spinning text seal
- Text on a circle
- Rotating stamp
More effects.
All effects- 3D and motionPrompt
- 3D and motionPrompt
Add a fly-through words background to [the section I point to]: words and small points of light fly toward the viewer through a calm space scene. Words: take them from this website itself. Read the real topics, services or benefits from the site's pages and headings and use short ones (one or two words each). Never make up placeholder words. Visual: a 2D canvas behind the content. The background looks like space with depth: a base colour, two or three large, soft glows (radial gradients) and a field of tiny static stars, only in colours from my palette, all drawn once to an offscreen canvas and shifted slightly with the mouse for parallax. On top, small points and the words are placed at random positions in 3D space in front of the camera. Every frame they move closer; project them to the screen with a simple perspective divide (screen = centre + position / depth * focal length). Size and opacity grow as they come closer, points leave short streaks. Words use my heading font. When something passes the camera it respawns far away. Behaviour: a calm base speed. The vanishing point follows the mouse a little (eased). Keep it light: no WebGL, no images, device pixel ratio capped at 2, pause when off screen. Put the headline in HTML on top and keep it readable. With prefers-reduced-motion, show a still frame. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
- 3D and motionPrompt
Turn [the cards I point to] into a 3D carousel ring with CSS 3D transforms (no WebGL needed): the cards stand in a circle that slowly turns. Layout: place the cards on a ring with transform: rotateY(angle) translateZ(radius). Calculate the radius from the card width and the number of cards so they don't overlap. The stage has perspective (around 1200px) and the ring is tilted slightly so you look at it from a bit above. Behaviour: the ring turns slowly by itself and pauses while the mouse is over it. Visitors can drag it horizontally (with a little inertia after release), and two arrow buttons step one card forward or back with a smooth ease. Cards on the far side fade and blur a little based on their angle, so the front card is clearly in focus. Clicking the front card opens its link. Accessibility: arrow buttons and cards work with the keyboard, the cards stay a normal list in the HTML. With prefers-reduced-motion: no auto rotation, the arrows jump without animation. On small screens, use a smaller radius. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.