LYGIA
by Patricio Gonzalez Vivo
Large multi-language shader function library (noise, SDFs, color, lighting, filters) for GLSL, HLSL, WGSL and Metal.
Video references and motion backgrounds Code libraryabstractgeometric
1. Price: lygia.xyz
Free for non-commercial use; commercial use needs the Patron license after a 30-day trial.
lygia.xyzNo quote yet: price is read from the official pages.
2. Commercial use: raw.githubusercontent.com
“This license allows you to use and share this software for noncommercial purposes for free and to try this software for commercial purposes for thirty days.”
Commercial sites/apps need the paid Patron license after 30 days.
raw.githubusercontent.com3. Credit the author: raw.githubusercontent.com
“Make sure everyone who gets a copy of any part of this software from you, with or without changes, also gets the text of this license and the contributor and source code lines above.”raw.githubusercontent.com
4. Agent access: github.com/patriciogonzalezvivo/lygia
An agent can install it by itself with npm install lygia. No key or account is needed.
github.com/patriciogonzalezvivo/lygiaLicense checked Nov 5, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error
LYGIA popularity
Downloads from api.npmjs.org, stars from GitHub, checked Nov 17, 2026. How the Gid Score is calculated
License
Prosperity Public License 3.0.0 + Patron License.
“This license allows you to use and share this software for noncommercial purposes for free and to try this software for commercial purposes for thirty days.” raw.githubusercontent.com
“Make sure everyone who gets a copy of any part of this software from you, with or without changes, also gets the text of this license and the contributor and source code lines above.” raw.githubusercontent.com
“Limit your use of this software for commercial purposes to a thirty-day trial period.” raw.githubusercontent.com
“Make sure everyone who gets a copy of any part of this software from you, with or without changes, also gets the text of this license and the contributor and source code lines above.” raw.githubusercontent.com
- Commercial sites/apps need the paid Patron license after 30 days.
- Ship the license text with any copied functions.
AllowedWith conditionsNot allowedNot stated or not checked yet
Is LYGIA free for commercial use? The full answer Not legal advice. Check the license page before you ship.
For your agent
License rules tell your agent what it may do with LYGIA. Paste them into your prompt or AGENTS.md.
- LYGIA (Video references and motion backgrounds, Web animation examples and effects). Large multi-language shader function library (noise, SDFs, color, lighting, filters) for GLSL, HLSL, WGSL and Metal. Price: free tier; commercial use with conditions; no credit needed; ship inside your app with conditions; pass the files on to your users only with conditions. Style: abstract, geometric.
Connect: npm lygia.
Get files: npm install lygia (pin version) or #include functions from the repo; for commercial use the user gets a Patron license first (glsl, hlsl, wgsl).
Not allowed: Non-commercial unless Patron license
Rule: Commercial sites/apps need the paid Patron license after 30 days.
Rule: Ship the license text with any copied functions.
License: https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/main/LICENSE.md (checked 2026-11-05; details: https://agentgid.com/assets/lygia/)
Agent installs a package or loads it from a CDN.
npm install lygiaFormats: glsl, hlsl, wgsl
Alternatives
LYGIA This page
Animation library with a visual timeline editor for motion graphics on the web: animate DOM, three.js/R3F scenes and any JS values.
Step-by-step online guide to fragment shaders (noise, patterns, shaping functions) with live editable examples; for learning, not reuse.
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.
Minimal WebGL library with a large commented example set (particles, flowmaps, post effects, text, shaders) that works well for light hero backgrounds.