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

1. Price: glslsandbox.com
Fully free to browse.
glslsandbox.comNo quote yet: price is read from the official pages.
2. Commercial use: raw.githubusercontent.com
Gallery effects have no license; only the site code (MIT) may be reused freely.
raw.githubusercontent.com3. Credit the author: raw.githubusercontent.com
raw.githubusercontent.com4. Agent access: github.com/mrdoob/glsl-sandbox
There is no package or API. Files are downloaded by hand from the official site.
github.com/mrdoob/glsl-sandboxLicense 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 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
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
The MIT license file covers the site software; effects are user posts stored with only a user name.
Each saved fork points to its parent effect and version.
The editor sets these three every frame; without them the picture stays black or frozen.
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.
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.
- 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/)
Look only: use it as inspiration, do not copy.
Formats: glsl
Alternatives
GLSL Sandbox This page
Pick Shadertoy for a much larger, active gallery where you can still save and share new shaders; the same license care applies.
Pick The Book of Shaders to learn shaders step by step with live examples instead of browsing finished pieces.
Pick Paper Shaders when you want ready licensed shader backgrounds (mesh gradients, grain) to drop into a site.
Hundreds of official three.js WebGL/WebGPU examples (shaders, particles, post-processing, loaders) with full source in the repo's examples folder.
Gallery of React Three Fiber scenes (shaders, portals, caustics, scroll, physics, glass) linked to runnable sandboxes with source.
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.