Fluted, animated WebGL background

Fluted shader preview

Fluted, layer by layer

Fluted is two layers composed into a single WebGL program. There is no video file and no image sequence; the browser draws every frame, at any size, in whatever colours you give it. From the bottom up:

  1. Fluted Glass: A pane of reeded glass over soft, symmetrically placed lights: each rib a cylindrical lens with an exact normal, refracting the diffused colour behind with dispersion, a faint Fresnel along its flanks and a frost in the groove.
  2. Grain: Film grain. Multiplies, so it preserves brightness instead of washing the frame out.

It scores 100 (Light) on the performance scale. Smooth everywhere, older phones included. Measured on an Apple M2 Pro and scaled to phones; the badge above the stage has the detail, and can time it on your own device.

Tags: glow, calm and light.

Tune it, then take it with you

Every colour and setting in the panel is live, layers can be added, hidden, reordered or removed, and the export always shows the stack as it is now, not the preset you started from. It comes out as a component for your framework, with the one install line it needs:

  • Reactnpm i @shader-core/react
  • Vuenpm i @shader-core/vue
  • Sveltenpm i @shader-core/svelte @shader-core/layers
  • Solidnpm i @shader-core/solid
  • JavaScriptnpm i @shader-core/js @shader-core/layers

Light on the page it lands on

Each stack becomes one fragment program, so ten layers are still one draw a frame. The engine compiles it off the main thread where the browser can, pauses when the background is off-screen or the tab is hidden, gives reduced-motion visitors a still frame, and on a slow device steps its resolution down before it would ever stutter. The score beside every preset says what that means on phones before you ship it.

The link is the save

Edits are written into the page’s address as you make them, so a copied link is the whole stack. No account, no upload, nothing stored on our side. Undo and redo cover every change; the Back button returns to the preset you were editing before you switched.

Frequently asked questions

Can I use these on a commercial site?

Yes, in personal, commercial and client work, in any number of projects, without paying. The one condition is to keep the two-line credit comment at the top of the code you copy. You do not need to credit it anywhere a visitor would see.

Is it a video?

No. It is a shader: a small program the GPU runs for every pixel, every frame. That is why it stays sharp at any size, can be recoloured with a prop, and costs kilobytes rather than the megabytes of a looping video.

What does the performance score mean?

A 0–100 estimate of how a background runs on phones, where GPU cost bites: 80 and up is Light (smooth everywhere, older phones included), 60–79 Moderate, 40–59 Heavy and below 40 Very heavy. Every 20 points is a doubling of cost. Presets are measured; an edited stack is estimated from each layer’s measured cost, and the badge can time the exact stack on your own device.

Will it slow my page down?

It is built not to. The engine and every layer here come to about 22 KB gzipped, and a project bundles only the layers it imports. Each stack compiles to one program, off the main thread where the browser allows; it pauses off-screen and in background tabs, and on a slow device it lowers its resolution, then holds a still frame rather than stutter.

What about reduced motion and older browsers?

Visitors who ask for reduced motion get a still frame. The engine needs WebGL2, which every current browser has: Safari 15 and later, Chrome, Firefox and Edge. Where it is missing nothing draws, so give the element a background colour.

How do I save or share what I made?

The link is the save: every edit is written into the page’s address, and Copy link hands over the whole stack. Nothing is uploaded and there is no account; anyone who opens the link gets exactly what you see.

Free with attribution

Shader Core is free for personal, commercial and client work. Keep this comment at the top of the code you copy. Every export already starts with it, and that is the whole of the condition:

// Shader Core — Fluted
// https://movin.design/shaders · free with attribution

What it does not allow: republishing the shaders as a library or asset pack of your own, or removing the credit. Read the licence · @shader-core/layers 1.3.0