Skip to content
animorio
IT
Back to the library

Blueprint background

Backgrounds, SVGGSAP, CanvasMediumCompressed weight: Demo 9.4 KBGSAP 28 KBFreeDownload the zip

The opening of Halden & Roe, a made-up architecture and engineering studio, on blue cyanotype paper: a fine white grid with a major line every five squares and a few construction lines that calmly draw themselves (the compass arc, the diagonal with its angle, the dimension with its arrows and the millimetres rolling up, the reference circle with its cross), hold and fade. The pointer carries a sight and measures to the edges, a click drops a reference point; a clean ellipse around the headline. Minimal style.

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>
<!--
  "Blueprint background" 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>Blueprint background</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/jetbrains-mono@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- the opening of an invented architecture and engineering studio, Halden & Roe, on cyanotype paper: a fine white
       grid, and a few construction lines that draw themselves calmly (an arc from the compass, a diagonal, a dimension
       with its two arrows and the millimetres rolling up, a reference circle with its cross), hold, and fade to make
       room for the next. The pointer carries a thin sight and takes measurements to the edges; a click drops a
       reference point. A clean ellipse around the words where no line ever passes -->
  <main class="stage" data-stage>
    <canvas class="sheet" data-sheet aria-hidden="true"></canvas>
    <span class="grain" aria-hidden="true"></span>

    <span class="reg reg--tl" aria-hidden="true"></span>
    <span class="reg reg--tr" aria-hidden="true"></span>
    <span class="reg reg--bl" aria-hidden="true"></span>
    <span class="reg reg--br" aria-hidden="true"></span>

    <section class="hero" data-hero aria-labelledby="hero-title">
      <p class="kicker" data-in>Halden &amp; Roe <span class="kicker__soft">Architects &amp; engineers</span></p>
      <h1 class="title" id="hero-title"><span class="title__line" data-in>Drawn</span> <span class="title__line" data-in>to scale.</span></h1>
      <p class="lede" data-in>Houses, bridges and quiet public buildings, measured twice.</p>
      <p class="meta" data-in><span>Scale 1:100</span><span class="meta__rule" aria-hidden="true"></span><span>Sheet A1</span><span class="meta__rule" aria-hidden="true"></span><span class="meta__read" data-read>x 0 · y 0 mm</span></p>
    </section>
  </main>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.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.

23 values to change

Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI

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 “Blueprint background” 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 the blue paper of a made-up architecture studio, behind the headline «Drawn to scale.», the grid opens from the centre and then, one after another, the constructions appear: the dimension runs between its two arrows while the millimetres count up, the compass draws an arc with its dashed leg following and leaves the radius written, a diagonal stretches out and measures its angle against the horizontal, a reference circle grows from its dashed cross and states its diameter. Each one holds for a few seconds and fades; never more than three at once, never inside the ellipse around the words. The pointer carries a yellow sight that follows it on a small spring and draws two dashed lines to the left and top edges, with the distances in millimetres rolling; under the headline the readout shows x and y. A click drops a reference point that draws itself with a ring widening once. If nobody touches the page, a ghost pointer drifts by and drops a few points.

How it works

The grid

A 2D canvas the size of the page, redrawn every frame: minor lines every CELL pixels and major lines every five, aligned so a major one runs through the centre, in just two paths. On entry the lines stretch out from the centre.

The clean ellipse

The constructions are drawn inside an evenodd clip made of the page rectangle minus an ellipse measured on the headline: lines stop at its edge. Under the words a radial veil in the paper colour makes the grid recede.

The constructions

Each construction has an age: it is drawn for DRAW_TIME seconds on a curve that starts and lands softly, held for HOLD_TIME and faded in 1.4 seconds. When there are fewer than MAX_LINES a new one is born at a free grid point, away from the others and outside the ellipse; the types rotate: dimension, arc, diagonal, circle.

The numbers

Dimensions, radii, diameters and degrees grow with the stroke, in millimetres at the MM_PER_PX scale, rounded to tens with a thin space for thousands, on a small paper-coloured patch that breaks the line.

The sight

The sight follows the pointer on a short spring (stiffness 260, damping 26): a hint of lag and a settle. Two dashed lines lead to the left and top edges, with arrows and distances rolling towards the true value.

The reference point

A click outside the ellipse drops a small circle with a cross that draws itself in half a second and a yellow ring that widens just once; after eight seconds it fades, and at most six stay.

Values to change

NameFileDefaultWhat it changes
CELLscript.js24Side of a grid square, in pixels.
MAJORscript.js5How many squares between major lines.
GRID_ALPHAscript.js0.1How visible the grid is.
MAX_LINESscript.js3Most constructions at once.
DRAW_TIMEscript.js2.4Seconds to draw a construction.
HOLD_TIMEscript.js3.4Seconds a construction holds before fading.
MM_PER_PXscript.js25Real millimetres per pixel, the drawing’s scale.
SIGHTscript.js1Size of the pointer’s sight.
AUTO_PILOTscript.js2.5After how many idle seconds the ghost pointer passes (0 never).

Try them in the Playground

When to use it

Behind the opening headline of an architecture, engineering or interior design studio, a construction company or a technical portfolio; as the background of a page presenting a project or a product measured to the millimetre.

On phones

The same sheet with adapted sizes: constructions are sized on the page’s shorter side, the ellipse on the headline, the grid is rebuilt on every resize; a tap moves the sight and drops the reference point.

With reduced motion

The grid and three constructions are already drawn and still; the sight, the click and the ghost pointer are off, and the words arrive with a fade.

Pitfalls

  • The evenodd clip needs the rectangle and the ellipse in the same path: two separate paths leave no hole.
  • One-pixel lines sit on the half pixel (+0.5), or they come out grey and two pixels wide.
  • The randomness has a seed reset on every resize: the drawing and the poster are always the same.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 9.4 KB; the libraries: GSAP 28 KB.

Testing

Tested on 25 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