Examples · 12 live shaders

Made with
ShaderMate.

Every card is a live shader. Every example is one plain HTML page with the library loaded from a script tag: open it, view the source, copy what you need.

12 examples · add yours
Website

Hero banner

A luminous wave field behind real page content, with scroll parallax and a hover-reactive button.

size: canvas · u_scroll · tween · download
Interface

Shader buttons

Sixteen real buttons with shader backgrounds: liquid glow, ripple, glitch, fire, chrome, galaxy, matrix and more. Hover tweens, press states, click ripples.

16 instances · tween · pointer.target
Simulation

Flow field

Ink pushed around by curl noise in a ping-pong float buffer. Paint with the mouse.

pingpong · float · GUI addon
Start here

Basic

One shader on a full-window canvas. About twenty lines of GLSL and no canvas tag.

createShader · pointer.smooth
Integration

Canvas as texture

A 2D canvas clock redrawn every frame and warped by a shader.

channels: [canvas] · live upload
Editor

Playground

Edit GLSL and watch it hot-reload, with presets, an error overlay, screenshots and recording.

setShader · errorOverlay · record
3D

Raymarched blob

Real 3D in one fragment shader: a wobbling SDF blob with a ring, fresnel, reflections and glow. Drag to spin.

SDF · iMouse · no engine
Simulation

Reaction diffusion

Gray-Scott chemistry on the GPU: four chained float passes give 240 simulation steps a second. Drag to seed new growth.

4 chained passes · float · wrap: repeat
Website

Mesh gradient + GUI

An animated mesh-gradient generator for hero backgrounds. createGui builds the panel from the uniforms; presets and randomize sit on top.

createGui · color: true · presets
Multipass

Dither post-processing

Render a synthwave scene in one pass, pipe it into a 4×4 Bayer dither in the next. An x-ray lens on the cursor shows the raw scene.

scene → dither · channels · GUI
Website

Shader typography

A headline filled with a live shader. The text stays real DOM (click it and type); a CSS blend mode lets the shader show through the letters.

mix-blend-mode · contenteditable
Interaction

Liquid metaballs

Glossy blobs that merge and split. One of them follows your cursor and grows while you hold the button.

iMouse · analytic normals