{
 "slug": "lygia",
 "name": "LYGIA",
 "author": "Patricio Gonzalez Vivo",
 "density": "basic",
 "status": "active",
 "status_note": null,
 "alternatives_page": null,
 "one_liner": "Large multi-language shader function library (noise, SDFs, color, lighting, filters) for GLSL, HLSL, WGSL and Metal.",
 "category": {
  "slug": "video-backgrounds",
  "name": "Video references and motion backgrounds"
 },
 "tags": [
  "Code library"
 ],
 "styles": [
  "abstract",
  "geometric"
 ],
 "logo_url": "https://agentgid.com/media/avatars/patriciogonzalezvivo.png",
 "logo_letter": "L",
 "links": {
  "repo": "https://github.com/patriciogonzalezvivo/lygia",
  "website": "https://lygia.xyz",
  "api_docs": null
 },
 "preview": null,
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free tier",
   "status": "info",
   "sub": null,
   "quote": null,
   "note": "Free for non-commercial use; commercial use needs the Patron license after a 30-day trial.",
   "source": {
    "label": "lygia.xyz",
    "url": "https://lygia.xyz"
   },
   "n": 1
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "With conditions",
   "status": "cond",
   "sub": "Prosperity Public License…",
   "quote": "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.",
   "note": "Commercial sites/apps need the paid Patron license after 30 days.",
   "source": {
    "label": "raw.githubusercontent.com",
    "url": "https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/main/LICENSE.md"
   },
   "n": 2
  },
  {
   "key": "credit",
   "label": "Credit the author",
   "value": "Not needed",
   "status": "yes",
   "sub": null,
   "quote": "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.",
   "note": null,
   "source": {
    "label": "raw.githubusercontent.com",
    "url": "https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/main/LICENSE.md"
   },
   "n": 3
  },
  {
   "key": "agent_access",
   "label": "Agent access",
   "value": "npm package",
   "status": "info",
   "sub": "Installs without a key",
   "quote": null,
   "note": "An agent can install it by itself with npm install lygia. No key or account is needed.",
   "source": {
    "label": "github.com/patriciogonzalezvivo/lygia",
    "url": "https://github.com/patriciogonzalezvivo/lygia"
   },
   "n": 4
  }
 ],
 "license": {
  "name": "Prosperity Public License 3.0.0 + Patron License",
  "url": "https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/main/LICENSE.md",
  "summary": null,
  "pages_read": 1,
  "rules": [
   "Commercial sites/apps need the paid Patron license after 30 days.",
   "Ship the license text with any copied functions."
  ],
  "rows": [
   {
    "label": "Commercial use",
    "value": "With conditions",
    "status": "cond",
    "quote": "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.",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/main/LICENSE.md"
    },
    "note": null
   },
   {
    "label": "Credit",
    "value": "Not needed",
    "status": "yes",
    "quote": "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.",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/main/LICENSE.md"
    },
    "note": null
   },
   {
    "label": "Inside your app or game",
    "value": "With conditions",
    "status": "cond",
    "quote": "Limit your use of this software for commercial purposes to a thirty-day trial period.",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/main/LICENSE.md"
    },
    "note": null
   },
   {
    "label": "Pass the files on to your users",
    "value": "With conditions",
    "status": "cond",
    "quote": "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.",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/main/LICENSE.md"
    },
    "note": null
   },
   {
    "label": "AI training",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Bots and bulk downloads",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   }
  ],
  "checked_at": "2026-11-05",
  "commercial_use_page": "https://agentgid.com/assets/lygia/commercial-use/"
 },
 "overview": null,
 "uses": [],
 "start": null,
 "mistakes": [],
 "agent": {
  "self_serve": true,
  "self_serve_text": "Agent installs a package or loads it from a CDN",
  "install": "npm install lygia",
  "repo": "https://github.com/patriciogonzalezvivo/lygia",
  "api_docs": null,
  "api_account": "Not needed. Everything runs on your side.",
  "get_files": "npm install lygia (pin version) or #include functions from the repo; for commercial use the user gets a Patron license first.",
  "formats": [
   "glsl",
   "hlsl",
   "wgsl"
  ],
  "limits": null,
  "mcp": null,
  "mcp_url": null,
  "credit_line": null,
  "rules_text": "- 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.\n  Connect: npm lygia.\n  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).\n  Not allowed: Non-commercial unless Patron license\n  Rule: Commercial sites/apps need the paid Patron license after 30 days.\n  Rule: Ship the license text with any copied functions.\n  License: https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/main/LICENSE.md (checked 2026-11-05; details: https://agentgid.com/assets/lygia/)",
  "agent_md": "https://agentgid.com/assets/lygia/agent.md",
  "card_json": "https://agentgid.com/assets/lygia/card.json"
 },
 "popularity": {
  "gid_score": 10,
  "stars": 3494,
  "downloads_7d": 983,
  "downloads_7d_label": "983",
  "downloads_change_4w_pct": -86.1,
  "eco": "npm",
  "package": "lygia",
  "repo": "patriciogonzalezvivo/lygia",
  "agent_projects": null,
  "agent_projects_total": null,
  "downloads_unconfirmed": false,
  "series": {
   "downloads_weekly": [
    [
     "2025-11-17",
     543
    ],
    [
     "2025-11-24",
     441
    ],
    [
     "2025-12-01",
     1029
    ],
    [
     "2025-12-08",
     784
    ],
    [
     "2025-12-15",
     467
    ],
    [
     "2025-12-22",
     444
    ],
    [
     "2025-12-29",
     634
    ],
    [
     "2026-01-05",
     688
    ],
    [
     "2026-01-12",
     1095
    ],
    [
     "2026-01-19",
     1486
    ],
    [
     "2026-01-26",
     1500
    ],
    [
     "2026-02-02",
     1806
    ],
    [
     "2026-02-09",
     1778
    ],
    [
     "2026-02-16",
     1721
    ],
    [
     "2026-02-23",
     1894
    ],
    [
     "2026-03-02",
     2130
    ],
    [
     "2026-03-09",
     1815
    ],
    [
     "2026-03-16",
     1788
    ],
    [
     "2026-03-23",
     1698
    ],
    [
     "2026-03-30",
     2765
    ],
    [
     "2026-04-06",
     1862
    ],
    [
     "2026-04-13",
     1467
    ],
    [
     "2026-04-20",
     1526
    ],
    [
     "2026-04-27",
     5984
    ],
    [
     "2026-05-04",
     3693
    ],
    [
     "2026-05-11",
     3998
    ],
    [
     "2026-05-18",
     3205
    ],
    [
     "2026-05-25",
     4893
    ],
    [
     "2026-06-01",
     3287
    ],
    [
     "2026-06-08",
     1667
    ],
    [
     "2026-06-15",
     3794
    ],
    [
     "2026-06-22",
     4802
    ],
    [
     "2026-06-29",
     3976
    ],
    [
     "2026-07-06",
     5503
    ],
    [
     "2026-07-13",
     4533
    ],
    [
     "2026-07-20",
     1416
    ],
    [
     "2026-07-27",
     1022
    ],
    [
     "2026-08-03",
     5574
    ],
    [
     "2026-08-10",
     1913
    ],
    [
     "2026-08-17",
     746
    ],
    [
     "2026-08-24",
     2366
    ],
    [
     "2026-08-31",
     2557
    ],
    [
     "2026-09-07",
     993
    ],
    [
     "2026-09-14",
     5579
    ],
    [
     "2026-09-21",
     15506
    ],
    [
     "2026-09-28",
     16449
    ],
    [
     "2026-10-05",
     6155
    ],
    [
     "2026-10-12",
     2957
    ],
    [
     "2026-10-19",
     1685
    ],
    [
     "2026-10-26",
     1780
    ],
    [
     "2026-11-02",
     1280
    ],
    [
     "2026-11-09",
     983
    ]
   ],
   "stars": [
    [
     "2026-11-07",
     3480
    ],
    [
     "2026-11-08",
     3480
    ],
    [
     "2026-11-09",
     3481
    ],
    [
     "2026-11-10",
     3483
    ],
    [
     "2026-11-11",
     3484
    ],
    [
     "2026-11-12",
     3485
    ],
    [
     "2026-11-13",
     3486
    ],
    [
     "2026-11-14",
     3488
    ],
    [
     "2026-11-15",
     3490
    ],
    [
     "2026-11-16",
     3494
    ],
    [
     "2026-11-17",
     3494
    ]
   ]
  },
  "stars_flat_since": null,
  "updated_at": "2026-11-17"
 },
 "alternatives": [
  {
   "slug": "lygia",
   "name": "LYGIA",
   "why": null,
   "current": true,
   "price": "Free tier",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "npm"
  },
  {
   "slug": "theatre-js",
   "name": "Theatre.js",
   "why": "Animation library with a visual timeline editor for motion graphics on the web: animate DOM, three.js/R3F scenes and any JS values.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "the-book-of-shaders",
   "name": "The Book of Shaders",
   "why": "Step-by-step online guide to fragment shaders (noise, patterns, shaping functions) with live editable examples; for learning, not reuse.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Non-commercial",
    "status": "no"
   },
   "access": "Download"
  },
  {
   "slug": "threejs-examples",
   "name": "three.js examples",
   "why": "Hundreds of official three.js WebGL/WebGPU examples (shaders, particles, post-processing, loaders) with full source in the repo's examples folder.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "react-three-fiber-examples",
   "name": "React Three Fiber examples",
   "why": "Gallery of React Three Fiber scenes (shaders, portals, caustics, scroll, physics, glass) linked to runnable sandboxes with source.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "ogl-examples",
   "name": "OGL examples",
   "why": "Minimal WebGL library with a large commented example set (particles, flowmaps, post effects, text, shaders) that works well for light hero backgrounds.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  }
 ],
 "faq": [],
 "at_a_glance": {
  "last_release": "2026-02-07",
  "last_commit": "2026-10-24",
  "key_needed": false,
  "formats": "glsl, hlsl, wgsl"
 },
 "good_to_know": [],
 "stack_snippets": [],
 "claims": [],
 "checked": {
  "license_read": "2026-11-05",
  "overview_checked": null,
  "numbers_updated": "2026-11-17",
  "sources": [
   {
    "label": "raw.githubusercontent.com",
    "url": "https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/main/LICENSE.md"
   },
   {
    "label": "npm: lygia/latest",
    "url": "https://registry.npmjs.org/lygia/latest"
   }
  ],
  "unverified": null
 },
 "user_reports": null,
 "url": "https://agentgid.com/assets/lygia/",
 "note": "Written by AgentGid from the official pages in checked.sources; quotes are copied from those pages. status: yes | cond | no | unknown | info. Prices and vendor claims are as reported on the checked date. Not legal advice."
}
