Skip to content
animorio
IT
Back to the library

Ellipse service cards

SVG, ScrollGSAP, CSS onlyMediumCompressed weight: Demo 9.0 KBGSAP + ScrollTrigger 45 KBLenis 5.3 KBFreeDownload the zip

Scroll inside the preview

The four service cards of Orrery, a made-up executive search firm, on a warm black. Each card has a fine line drawing made of ellipses that never stop: the sphere with the site’s numbers (twelve ellipses sliding from one circle to the other while they narrow to a line, one turn in 6.67 s), parallels falling through a globe, a rosette of breathing ellipses, three rings like a gyroscope. The scroll, smoothed by Lenis, walks an amber light from card to card and turns the dashed ring of every drawing by up to 65 degrees; under the mouse the ellipses speed up and draw in and the edge catches the light where the pointer is. Premium minimal style.

Rebuilt from scratch studying aspensearch.com by Edoardo Lunardi, Elliott Mangham, Louis Saville: the idea is theirs; code, copy and images are ours. Read how it’s made

The code

A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.

<!doctype html>
<!--
  "Ellipse service cards" from Animorio · https://animorio.com
  License: free on your own sites and your clients’ sites, paid work included.
  Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Orrery practices</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/geist-mono@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- the practices of a made-up executive search firm, Orrery. The panel sticks while you scroll: each card has its
       own line drawing made of ellipses that never stop moving (a sphere, falling parallels, a rosette, three orbits),
       the dashed ring around each drawing turns with the scroll, and the scroll walks a light across the cards. Over a
       card the ellipses speed up and draw in, and its edge catches the light where the pointer is. -->
  <main>
    <section class="corsa" data-corsa>
      <div class="palco" data-palco>
        <div class="alone" aria-hidden="true"></div>
        <div class="grana" aria-hidden="true"></div>

        <div class="cornice" data-cornice>
          <header class="testa">
            <div class="testa__sinistra">
              <p class="marchio">
                <svg class="marchio__segno" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9.2"/><ellipse cx="12" cy="12" rx="4.2" ry="9.2"/></svg>
                <span>Orrery</span>
                <span class="marchio__ruolo">Executive search</span>
              </p>
              <h1 class="titolo">Four rooms we know by heart.</h1>
            </div>
            <a class="parla" href="#" data-parla>
              <span class="parla__fondo" aria-hidden="true"></span>
              <span class="parla__testo">Talk to a partner</span>
              <svg class="parla__freccia" viewBox="0 0 16 16" aria-hidden="true"><path d="M4.5 11.5 11.5 4.5M5.8 4.5h5.7v5.7"/></svg>
            </a>
          </header>

          <div class="pista" data-pista>
            <article class="carta" data-carta data-figura="sfera" tabindex="0">
              <div class="carta__luce" aria-hidden="true"></div>
              <div class="carta__bordo" aria-hidden="true"></div>
              <div class="carta__riga">
                <span class="carta__etichetta">Practice</span>
                <svg class="carta__freccia" viewBox="0 0 16 16" aria-hidden="true"><path d="M4.5 11.5 11.5 4.5M5.8 4.5h5.7v5.7"/></svg>
              </div>
              <div class="figura">
                <svg viewBox="0 0 200 200" role="img" aria-label="Research and trading: twelve ellipses turning between two circles like a sphere">
                  <circle class="figura__anello" data-anello cx="100" cy="100" r="99.4"/>
                  <g data-disegno></g>
                </svg>
              </div>
              <h2 class="carta__nome">Research &amp; Trading</h2>
              <p class="carta__frase">Quant researchers, traders and the desks that hire them.</p>
              <dl class="dati">
                <div class="dato"><dt>Placed since 2011</dt><dd><span data-numero="184">184</span></dd></div>
                <div class="dato"><dt>Median time to offer</dt><dd><span data-numero="37">37</span> days</dd></div>
              </dl>
            </article>

            <article class="carta" data-carta data-figura="paralleli" tabindex="0">
              <div class="carta__luce" aria-hidden="true"></div>
              <div class="carta__bordo" aria-hidden="true"></div>
              <div class="carta__riga">
                <span class="carta__etichetta">Practice</span>
                <svg class="carta__freccia" viewBox="0 0 16 16" aria-hidden="true"><path d="M4.5 11.5 11.5 4.5M5.8 4.5h5.7v5.7"/></svg>
              </div>
              <div class="figura">
                <svg viewBox="0 0 200 200" role="img" aria-label="Infrastructure: flat ellipses falling through a sphere like its parallels">
                  <circle class="figura__anello" data-anello cx="100" cy="100" r="99.4"/>
                  <g data-disegno></g>
                </svg>
              </div>
              <h2 class="carta__nome">Infrastructure</h2>
              <p class="carta__frase">Low latency, distributed systems, the engineers under the engine.</p>
              <dl class="dati">
                <div class="dato"><dt>Placed since 2011</dt><dd><span data-numero="142">142</span></dd></div>
                <div class="dato"><dt>Median time to offer</dt><dd><span data-numero="41">41</span> days</dd></div>
              </dl>
            </article>

            <article class="carta" data-carta data-figura="rosa" tabindex="0">
              <div class="carta__luce" aria-hidden="true"></div>
              <div class="carta__bordo" aria-hidden="true"></div>
              <div class="carta__riga">
                <span class="carta__etichetta">Practice</span>
                <svg class="carta__freccia" viewBox="0 0 16 16" aria-hidden="true"><path d="M4.5 11.5 11.5 4.5M5.8 4.5h5.7v5.7"/></svg>
              </div>
              <div class="figura">
                <svg viewBox="0 0 200 200" role="img" aria-label="Machine learning: a rosette of turning ellipses that breathe one after the other">
                  <circle class="figura__anello" data-anello cx="100" cy="100" r="99.4"/>
                  <g data-disegno></g>
                </svg>
              </div>
              <h2 class="carta__nome">Machine Learning</h2>
              <p class="carta__frase">Research scientists and the people who ship their models.</p>
              <dl class="dati">
                <div class="dato"><dt>Placed since 2011</dt><dd><span data-numero="96">96</span></dd></div>
                <div class="dato"><dt>Median time to offer</dt><dd><span data-numero="33">33</span> days</dd></div>
              </dl>
            </article>

            <article class="carta" data-carta data-figura="orbite" tabindex="0">
              <div class="carta__luce" aria-hidden="true"></div>
              <div class="carta__bordo" aria-hidden="true"></div>
              <div class="carta__riga">
                <span class="carta__etichetta">Practice</span>
                <svg class="carta__freccia" viewBox="0 0 16 16" aria-hidden="true"><path d="M4.5 11.5 11.5 4.5M5.8 4.5h5.7v5.7"/></svg>
              </div>
              <div class="figura">
                <svg viewBox="0 0 200 200" role="img" aria-label="Leadership: three rings flipping like a gyroscope, a small square going round the edge">
                  <circle class="figura__anello" data-anello cx="100" cy="100" r="99.4"/>
                  <g data-disegno></g>
                </svg>
              </div>
              <h2 class="carta__nome">Leadership</h2>
              <p class="carta__frase">Heads of, CTOs and the first ten hires around them.</p>
              <dl class="dati">
                <div class="dato"><dt>Placed since 2011</dt><dd><span data-numero="58">58</span></dd></div>
                <div class="dato"><dt>Median time to offer</dt><dd><span data-numero="52">52</span> days</dd></div>
              </dl>
            </article>
          </div>
        </div>
      </div>
    </section>
  </main>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/ScrollTrigger.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/lenis@1.3.26/dist/lenis.min.js"></script>
  <script src="script.js"></script>
</body>
</html>

Playground

Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.

54 values to change

Or ask your AI assistant for it

With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:

Take “Ellipse service cards” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

On a warm black with a low light sit the Orrery mark with «Executive search», the title «Four rooms we know by heart.», the «Talk to a partner» button and four cards in a row: Research & Trading, Infrastructure, Machine Learning, Leadership, each with the «Practice» label, an arrow, a drawing inside a dashed circle, the name, a line and two figures (placements since 2011 and median days to an offer) that count up from zero when the page opens. The drawings never stop. In the first, twelve ellipses slide from the left circle to the right one, narrow to a line in the middle and fade at the sides: it looks like a turning sphere. In the second the parallels of a globe fall from the top and widen at the equator; in the third eight ellipses turned around the centre breathe from circle to line one after the other; in the fourth three rings flip like a gyroscope and a small amber square goes round the edge in 12 seconds. Scrolling down, the panel stays put and an amber light walks from card to card: the lit card rises six pixels, its edge glows, its dashed circle turns amber, its ellipses go faster and its figures take the colour. Meanwhile every dashed circle turns with the scroll (65 degrees the first, 50 backwards the third). A fast scroll gives all the drawings a push. Under the mouse a card rises, its ellipses speed up and draw in towards the centre with a small bounce, its edge catches the light right where the pointer is and the arrow turns to the right; pressed, it gives and springs back. On a narrow screen the cards slide sideways one at a time, centred, with their neighbours dimmed.

How it works

The site’s curves, in a table

The site animates the ellipses with Motion’s animate() and three cubic-beziers: [.37,0,.63,1] for the slide, [.12,0,.39,0] for the narrowing, [.16,1,.3,1] for the fade. Here every curve is solved once into a table of 256 values (the bezier’s x found by bisection), then read every frame with an interpolation: no tween per ellipse, one loop for all the drawings.

The sphere, with the site’s numbers

Twelve ellipses in a 200 viewBox, radius 50: for each u = frac(t / 6.67 + i / 12). The x goes from -50 to +50 with the first curve; rx goes from 50 to 1 and back (yoyo over half a turn, 3.33 s) with the second; the stroke opacity goes from 0 to 1 and back with the third. Two still circles on the left and right are the edge, and the dashed circle with a radius of 99.4 closes them in.

The three variants, ours

The parallels: nine ellipses with cy from -74 to +74 in 8 s ([.455,.03,.515,.955], the curve of the site’s second drawing), rx = √(R² − y²) and ry = 0.26 rx, like tilted discs. The rosette: eight ellipses turned 22.5 degrees apart, ry breathing from R to 0.06 R one after the other, and the whole thing turning 4 degrees a second. The orbits: three rings with ry = r·|cos|, periods of 6.67, 5 and 8 s on planes at 0, 60 and 120 degrees, and the small square going round in 12 s, linear, like the site’s ring.

Each card has its own clock

Each drawing has its own time t that moves on by dt times a speed: 1, times 1.5 when the scroll light is on the card, times 2.4 under the mouse, and a little more when the scroll is fast (Lenis’s velocity). So speeding up and slowing down never makes a drawing jump: the speed changes, not the point.

The scroll with Lenis and ScrollTrigger

The section is 420vh tall with a sticky stage; Lenis (lerp 0.1, as on the site) updates ScrollTrigger, which gives the progress. The progress turns the dashed circles (65 degrees the first, like the site’s rotate [0, 65]; −50 the third) and moves the light: a function holds it on each card and passes it to the next with a smoothstep. The lit card gets --luce, which in the CSS lights the glow, the edge and the numbers.

The edge that catches the light

The edge is a 1 px frame made with a mask (content-box excluded) with an amber radial-gradient under it, centred on --mx and --my, the pointer’s position. Under the mouse the ellipses draw in towards the centre (0.86) with back.out, the arrow turns 45 degrees, and a press sinks the card with an elastic.out on the way back.

Values to change

NameFileDefaultWhat it changes
SPEEDscript.js1How fast the drawings move: 1 is the site’s pace (the sphere turns in 6.67 s).
ELLIPSESscript.js12How many ellipses make the sphere (the site uses 12).
TURNscript.js65Degrees the dashed circle turns over the whole scroll (the site uses 65).
HOVER_SPEEDscript.js2.4How much the ellipses speed up under the mouse.
SQUEEZEscript.js0.86How much the drawing draws in under the mouse: 1 stays the same.
FOCUS_SPEEDscript.js1.5How much faster the card lit by the scroll moves.
SCROLL_PUSHscript.js0.03How much a fast scroll pushes every drawing: 0 not at all.
LINEscript.js0.8Thickness of the lines, in drawing units (200 wide).
RIDEscript.js1How much scroll the whole panel takes: 2 is twice as long.

Try them in the Playground

When to use it

For the services section of a professional firm, a consulting or search firm, an agency, a fund: a few entries, each with its own abstract mark, where the drawing should say «precision» without illustrating anything. It also suits the features of a technical product or the plans of a service.

On phones

The same animation with adapted sizes: the panel is measured on width and height and scaled; if the four cards in a row would be too small, they slide sideways one at a time with the scroll, the lit card in the middle and its neighbours dimmed. A tap lights the card, speeds it up and draws it in as with the mouse, then lets go.

With reduced motion

The drawings stand still in a pose that reads well, the dashed circles do not turn, the panel fades in and the numbers are already at their value. The scroll light and the glowing edge stay, as they are only light; on a phone the cards pass sideways with the scroll like a page.

Pitfalls

  • On the site each ellipse’s delay is i × (12 / 11 / 0.15) − 660 seconds: the offset is 1/11 of a turn, but there are twelve ellipses, so the twelfth lands on the first and only eleven show. Here the offset is 1/N, so all of them show.
  • Speeding a tween up by changing its duration makes the drawing jump to another point: here each card has its own time moving on at a speed, and the hover changes only the speed.
  • The site keeps twelve endless tweens per ellipse running and pauses them off screen; here it is one loop on GSAP’s ticker writing the attributes of every ellipse, and the sticky stage is the only thing in view.
  • The glowing edge cannot be a border with a gradient: it is a frame with 1 px of padding and a mask that excludes the content-box, with -webkit-mask-composite: xor for Safari.
  • GSAP writes the card’s transform every frame (entrance, light, hover and press together): that is why the hover does not tween the card but a number from 0 to 1, which the loop adds to the rest.
  • The site’s aria labels do not match the drawings (the second is still called «Executive Search animation»): here every drawing has its own right aria-label.

Libraries

GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0, Geist Mono (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 9.0 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.

Testing

Tested on 12 November 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.

All animations