
Ink that reveals
WebGL, Hover
A WebGL animation in the premium style of Dribbble shots: the loading panel of the render in an AI video app, made of dark frosted glass, with a warm light behind it. A hand-written GLSL shader draws the rays escaping past the panel's edge like an eclipse, the glow coming through the glass, the edge lighting up on the side facing the light and the dust floating in the beams. The progress bar is a slit cut through the glass: as the render goes on it opens and the light shines through it, throwing thin beams across the panel. The light slides behind the edge towards the pointer on a spring, Pause dims it, at 100% it swells and the button becomes Open render.
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>
<!--
"Render loader" 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>The render loader with the light rays from behind</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage" data-stage>
<!-- the render panel of an AI video tool, frosted dark glass on a near black page. A warm light sits behind it:
a WebGL shader marches from every pixel towards the light and draws the rays that slip past the panel's
edge, the glow seen through the frosted glass and the beams that leak through the progress slit -->
<div class="panel" data-panel>
<canvas class="panel__rays" data-canvas aria-hidden="true"></canvas>
<span class="panel__glow" data-glow aria-hidden="true"></span>
<article class="panel__card" data-card>
<header class="panel__head">
<span class="panel__brand">
<svg class="panel__mark" viewBox="0 0 20 20" aria-hidden="true">
<rect x="0.75" y="0.75" width="18.5" height="18.5" rx="5.5"/>
<path d="M4.6 13.2a5.4 5.4 0 0 1 10.8 0"/>
<path d="M3.6 13.2h12.8"/>
</svg>
Lumen Studio
</span>
<span class="panel__chip">4K, 24 fps</span>
</header>
<h1 class="panel__title"><span data-title>Rendering “Low tide”</span></h1>
<p class="panel__prompt">A coastline at dusk, long lens, slow push in over wet sand.</p>
<div class="panel__slit" data-slit aria-hidden="true"><span class="panel__fill" data-fill></span></div>
<div class="panel__stats">
<span class="panel__frames"><span class="panel__num" data-frame>0</span> of 960 frames</span>
<span class="panel__pct"><span class="panel__num" data-pct>0</span>%</span>
</div>
<footer class="panel__foot">
<span class="panel__eta" data-eta>0:38 left</span>
<button class="panel__btn" type="button" data-btn>
<span class="panel__btn-face" data-face>
<svg class="panel__btn-icon" viewBox="0 0 16 16" aria-hidden="true">
<path class="panel__pause" data-pause d="M5.6 4.2v7.6M10.4 4.2v7.6"/>
<path class="panel__play" data-play d="M5.4 3.9l6.6 4.1-6.6 4.1z"/>
<path class="panel__check" data-check pathLength="1" d="M3.4 8.4l3 3 6.2-6.6"/>
</svg>
<span class="panel__btn-words" data-words>Pause</span>
</span>
</button>
</footer>
</article>
</div>
<p class="sr" aria-live="polite" data-live></p>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="script.js"></script>
</body>
</html>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.
30 values to change
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 “Render loader” from Animorio and fit it into my siteThe panel's body is a pseudo-element under everything (gradient, feTurbulence grain, edge and layered shadows), above it the WebGL canvas, wider and taller than the panel so the rays can reach the page, and on top the words and the button.
For each pixel the shader takes thirty steps along the line to the light and adds up how much light there is at each point times how much of it the panel does not cover (the signed distance from the rounded rectangle: all of it outside, a small share through the glass). The average, damped with distance, is the rays; a random start per pixel removes the stepped bands and becomes grain.
The progress bar is not drawn: it is the place in the glass where all the light gets through, as wide as the render. For the beams on the panel the shader does not march but works out where the line from the pixel to the light crosses the slit's row: if it lands in the open part it adds the light at that point, fading over 46 pixels.
The light chases the point of the edge nearest the pointer (13 pixels inside, so it always peeks out), or its walk along the top edge following the render, on a spring integrated by hand in two steps per frame (stiffness 120, damping 15). The intensity has its own spring too, and when paused it drops to 60%.
A GSAP timeline takes the value from 0 to 1 in three stretches at different paces; every frame turns it into the frames, the percentage, the time and the width of the slit. At 100% a second timeline swells the light in 0.16 s and brings it down in 1.5 s, the words change with a blur and the check draws itself with pathLength.
| Name | File | Default | What it changes |
|---|---|---|---|
RAYS | script.js | 1 | How strong the rays around the panel are. |
REACH | script.js | 210 | How far the rays reach over the page, in pixels. |
SIZE | script.js | 34 | How big the light behind the panel is, in pixels. |
FROST | script.js | 0.2 | How much light the frosted glass lets through. |
DUST | script.js | 0.6 | How much dust floats in the beams. |
STIFFNESS | script.js | 120 | The spring pulling the light to the pointer: higher is quicker. |
DAMPING | script.js | 15 | Lower lets the light pass the mark and come back. |
RENDER | script.js | 6.2 | How many seconds the render takes, from 0 to 100%. |
FRAMES | script.js | 960 | How many frames the render has. |
LOOP | script.js | true | Renders again by itself, forever. |
For the panel that follows a long job in an AI app: rendering a video, generating images, exporting a project. The light coming through the slit tells how far it has got without shouting, and the panel stays the centre of the page.
The same animation with adapted sizes: the panel is as wide as the box allows, the margins shrink with the height, the rays spread over the page only as far as there is room, and a finger takes the light where it touches.
The light does not move: it stays still behind the middle of the top edge and fades in and out, with no dust; the slit opens and the numbers count, the words and the check change with a fade.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 10 KB; the libraries: GSAP 28 KB.
Tested on 2 November 2026
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.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.