Component · Carousels and galleries

Orbit animation gallery of spice tins

by Informeek Studio 11 November 2026
Live Drag the ring or tap a tin to bring it forward

The prompt

Create an orbit gallery for a fictional spice merchant, Saffron Row, on a dark warm page (#1f1512) with cream text #f6e9d2 and saffron gold #e0a43a. Left: the serif headline "Eight tins, ground to order" and a detail card with name, origin, tasting note, price, 46px previous and next buttons and an "Add to box" toggle. Right: a stage with a mortar and pestle drawn in SVG at the centre and eight round spice tins drawn in SVG orbiting it on a flat ellipse (radius 42% of the stage wide, 24% tall). Each tin has its own lid colour and pattern, from saffron threads to turmeric waves. Place tin i at angle (i minus position) eighths of a turn, x by sine, y by cosine, front at the bottom; scale tins from 0.52 at the back to 1 at the front, darken the back ones to 45% brightness and layer them behind the mortar. Add soft shadows and a dotted orbit ring. Every 3.2s advance one tin with a 0.085 ease, unless hovered or used in the last 6s. Drag sideways to spin with momentum and a snap; tap a tin to bring it to the front by the shortest way. The page glow takes the front tin colour. On phones stack header, a 206px stage and the card, with 64px tins. Arrow keys turn it; reduced motion snaps.

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

  1. Copy the prompt with the button above.
  2. Paste it into your AI site builder, or any AI chat that writes code.
  3. Make it yours by drawing your own products as the orbiting objects and changing the centrepiece.

About this orbit animation

An orbit animation turns a small range into a little solar system. Eight spice tins circle a mortar and pestle on a flattened ring, so the ones at the back shrink, dim and pass behind the bowl while the one at the front comes forward, lifts slightly and gets its name, origin and price in the card beside it. Left alone, the ring steps round one tin at a time, pausing long enough to read.

Every tin is drawn in SVG with its own lid pattern, from saffron threads to turmeric waves, so the gallery needs no photos and the colours set the mood. The glow behind the page takes the colour of the front tin, which is a small touch that makes the whole page feel connected to the choice.

Why the prompt works

  • It gives the orbit as a formula, sine for x and cosine for y, with the front at the bottom.
  • It sets the depth cues, scale from 0.52 to 1 and brightness down to 45 percent.
  • It defines when the ring moves by itself and when it waits for the visitor.
  • It sizes the phone stage, 206 pixels with 64 pixel tins.

Where to use it

Small product ranges, tea and coffee shops, flavour pickers and gift boxes, anywhere six to ten items deserve a moment each.

The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.

Keep exploring

More prompts like this

See the collection →
Live
Component · Carousels and galleries

Accordion gallery of a coast path

Live
Component · Carousels and galleries

WebGL slider of seed packets on an arc

Live
Component · Carousels and galleries

Masonry layout for a pattern library