Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

GLSL Sandbox

by mrdoob and contributors

Classic gallery of user-made GLSL fragment shaders (abstract loops and patterns) with an in-browser editor; now read-only.

Video references and motion backgrounds Open sourceabstractdarkgeometric

GitHub repoWebsite
A soft cream, blue and coral wave drawn by a short shader we wrote ourselves with the time, mouse and resolution inputs that GLSL Sandbox effects use; no gallery shader was copied.
Made by AgentGid with our own GLSL shader in a plain WebGL page, time = 12.0, mouse = (0.5, 0.5); input names as in the GLSL Sandbox editor (glsl-sandbox master, MIT). The shader and picture are ours; only the input names follow the MIT-licensed GLSL Sandbox editor. No gallery shader or screenshot of the site is used.

2. Commercial use: raw.githubusercontent.com

Gallery effects have no license; only the site code (MIT) may be reused freely.

raw.githubusercontent.com

License checked Nov 5, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error

GLSL Sandbox: an old gallery of shader art to learn from

GLSL Sandbox is a free web gallery of small animated graphics written as code (shaders) by many different people, with an editor to view each one live. The site is now read-only, so nobody can add or change effects. The site's own code is free to reuse, but the shaders in the gallery carry no license, so use them for ideas and write your own.

Where you can use it

Ideas for an animated background Idea

Browse the gallery to see what moving patterns, waves and loops are possible, then describe the look you want to your AI assistant and have it write a new shader.

Learn how a shader is built

Open an effect and read its code next to the live picture. Each effect can be loaded as plain text by its number.

Find the original of a remix

Many effects are changed copies of other effects. Follow the parent link back to the first version before you contact anyone about reuse.

Your own shader with the same inputs

Your own shader with the same inputs Idea

Write a new shader with the same three inputs as the gallery, which are time, pointer and screen size. It then runs in GLSL Sandbox style editors and on your own page.

Run your own copy of the gallery

Host your own shader gallery and editor, for a class, a team or a game jam, with the open site code.

GLSL Sandbox popularity

13 / 100
Gid Score, same scale as developer tools
1,688
GitHub stars
GLSL Sandbox: GitHub starsmrdoob/glsl-sandbox 1,688

How the Gid Score is calculated

How to start

Tell your AI assistant

“Look at glslsandbox.com only for ideas; write a new GLSL fragment shader with uniforms time, mouse and resolution for a soft animated background, and do not copy code from gallery effects.”

Show code

Every effect gets the same three inputs; a new shader should declare them the same way.

uniform float time;
uniform vec2 mouse;
uniform vec2 resolution;

Mistakes to avoid

Copying a gallery effect into a site or app because the repository says MIT
Treat gallery effects as all rights reserved; write your own shader or get the author's written permission

The MIT license file covers the site software; effects are user posts stored with only a user name.

Crediting the user named on a remixed effect as its author
Follow the parent link to the first version and check who made it

Each saved fork points to its parent effect and version.

Pasting a sandbox shader into three.js or another engine and leaving time, mouse and resolution unset
Feed time in seconds, mouse as 0..1 and resolution in pixels every frame, as the editor does

The editor sets these three every frame; without them the picture stays black or frozen.

Expecting a WebGL screenshot from a headless browser without a graphics chip
Start headless Chromium with a software renderer (our demo needed --use-angle=swiftshader --enable-unsafe-swiftshader)

With --disable-gpu alone our demo page rendered blank.

License

Site code MIT; gallery shaders unlicensed/unclear. The site and editor code is MIT, free to reuse with its notice. The shaders in the gallery were posted by many people without any license, so you may look and learn but not copy them into a product without the author's permission.

Commercial use
Unclear
Credit
Depends on item
Inside your app or game
Unclear
Pass the files on to your users
Unclear
AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with GLSL Sandbox. Paste them into your prompt or AGENTS.md.

License rules
- GLSL Sandbox (Video references and motion backgrounds, Web animation examples and effects). Classic gallery of user-made GLSL fragment shaders (abstract loops and patterns) with an in-browser editor; now read-only. Price: free; commercial use unclear; credit depends on the item; shipping inside an app unclear. Style: abstract, dark, geometric.
  Connect: download from https://glslsandbox.com (no API).
  Get files: Look only: browse glslsandbox.com for ideas and write your own shader (glsl).
  Not allowed: No license on gallery shaders
  Rule: The MIT license covers the site's code, not the user-submitted shaders.
  Rule: Use shaders as inspiration; do not copy one without its author's license.
  License: https://raw.githubusercontent.com/mrdoob/glsl-sandbox/master/LICENSE (checked 2026-11-05; details: https://agentgid.com/assets/glsl-sandbox/)
Can an agent use it by itself?
No.

Look only: use it as inspiration, do not copy.

How an agent gets files
Look only: browse glslsandbox.com for ideas and write your own shader.

Formats: glsl

API, key or account
Not needed. Everything runs on your side.
MCP server
None found
This card for machines

Alternatives

GLSL Sandbox This page

Free Unclear Download

Shadertoy

Pick Shadertoy for a much larger, active gallery where you can still save and share new shaders; the same license care applies.

Free Unclear Download

The Book of Shaders

Pick The Book of Shaders to learn shaders step by step with live examples instead of browsing finished pieces.

Free Non-commercial Download

Paper Shaders

Pick Paper Shaders when you want ready licensed shader backgrounds (mesh gradients, grain) to drop into a site.

Free Commercial OK npm

three.js examples

Hundreds of official three.js WebGL/WebGPU examples (shaders, particles, post-processing, loaders) with full source in the repo's examples folder.

Free Commercial OK npm

React Three Fiber examples

Gallery of React Three Fiber scenes (shaders, portals, caustics, scroll, physics, glass) linked to runnable sandboxes with source.

Free Commercial OK npm

All video references and motion backgrounds

Questions

Can I put a GLSL Sandbox effect on my website?

Not without its author's permission. The gallery effects carry no license; only the site code is MIT.

Can I still save my own shader there?

No. The server is in maintenance mode and does not accept new or changed effects.

What inputs does a GLSL Sandbox shader get?

time, mouse and resolution; the editor also offers a backbuffer of the last frame and a surface position for pan and zoom.

Can I run the gallery myself?

Yes. The site code is open and MIT licensed; the README shows how to build and start the server locally.