# GLSL Sandbox — card for AI agents

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

Category: Video references and motion backgrounds (also: Web animation examples and effects) · maker mrdoob and contributors · checked 2026-11-05 · style: abstract, dark, geometric

## Price
- Price: Free
- Free tier: Fully free to browse.

## License
Site code MIT; gallery shaders unlicensed/unclear — https://raw.githubusercontent.com/mrdoob/glsl-sandbox/master/LICENSE

- commercial: **unclear** (Commercial use unclear)
- attribution: **varies** (Credit depends on the item)
- in app: **unclear** (Shipping inside an app unclear)
- redistribute: **unclear** (Passing the files on to your users unclear)
- Why unclear: The only page is the MIT License for the glsl-sandbox software (Mr.doob, 2011), which covers the code in that repository. It does not mention the user-made shaders in the gallery or say how they may be used commercially, in apps or in video

## Rules to follow
- The MIT license covers the site's code, not the user-submitted shaders.
- Use shaders as inspiration; do not copy one without its author's license.

## Can an AI agent use it by itself?
**No** · look-only: 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. (sign-in: none)
- Formats: glsl
- Not allowed: No license on gallery shaders

## How to connect
- Download only
- Repository: https://github.com/mrdoob/glsl-sandbox
- Website: https://glslsandbox.com

## Notes
Site says: 'The server is in maintenance mode. You can not create or modify effects.'

## Numbers (AgentGid data)
- Gid Score: 13
- GitHub stars: 1,688

## Lines to paste 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/)
```

## Links
- AgentGid page: https://agentgid.com/assets/glsl-sandbox/
- Source: https://glslsandbox.com/
- Source: https://raw.githubusercontent.com/mrdoob/glsl-sandbox/master/LICENSE


## 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 to use it
- Ideas for an animated background: 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. (idea, not from the official pages)
- 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: 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. (idea, not from the official pages)
- 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.

### How to start
- Open the gallery and click an effect to see it live with its 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;
```

- For your product, write your own shader or use one whose author gave a license; the site license covers only the site code.

### License
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.

### Good to know
- The site is read-only. You cannot save new effects or change old ones.
- Gallery effects have no license. Most authors are known only by a nickname or not at all, so permission is often hard to get.
- Many effects are copies of other effects with small changes, so the person who saved one may not be the first author.
- Shaders run on the visitor's graphics chip. Heavy ones drain phone batteries and can stutter, so test a background on a phone first.

Checked 2026-11-12 against: https://glslsandbox.com/, https://glslsandbox.com/e, https://glslsandbox.com/item/370395.0, https://github.com/mrdoob/glsl-sandbox, https://github.com/mrdoob/glsl-sandbox/blob/master/README.md, https://github.com/mrdoob/glsl-sandbox/blob/master/LICENSE, https://github.com/mrdoob/glsl-sandbox/blob/master/server/server.go, https://github.com/mrdoob/glsl-sandbox/blob/master/server/assets/gallery.html, https://github.com/mrdoob/glsl-sandbox/blob/master/static/index.html

### Mistakes to avoid
- Don't: Copying a gallery effect into a site or app because the repository says MIT → Do: 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.)
- Don't: Crediting the user named on a remixed effect as its author → Do: Follow the parent link to the first version and check who made it (Each saved fork points to its parent effect and version.)
- Don't: Pasting a sandbox shader into three.js or another engine and leaving time, mouse and resolution unset → Do: 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.)
- Don't: Expecting a WebGL screenshot from a headless browser without a graphics chip → Do: 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.)

### 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.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
