# Lygia

[BASE product page](<https://base.akulich.dev/en/library/lygia/>) · [Resource](<https://lygia.xyz>)

ID: lygia · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Modular GLSL, HLSL, and WGSL functions for color, lighting, noise, geometry, and image processing\.

## Type

Development library / tool

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/lygia/#resource-access>)

freemium

## [What you can use for free](<https://base.akulich.dev/en/library/lygia/#resource-access>)

Noncommercial shaders and commercial evaluation within Prosperity’s cumulative 30\-day period\.

## [Paid features and costs](<https://base.akulich.dev/en/library/lygia/#resource-access>)

Continued commercial use requires a Patron/sponsorship or other commercial license; GPU and application hosting are billed separately\.

## [Access and limitations](<https://base.akulich.dev/en/library/lygia/#resource-access>)

Noncommercial shaders and commercial evaluation within Prosperity’s cumulative 30\-day period\. Continued commercial use requires a Patron/sponsorship or other commercial license; GPU and application hosting are billed separately\.

## [Use cases](<https://base.akulich.dev/en/library/lygia/#resource-tasks>)

- Reusable shader functions
- Generative graphics and image processing

## Category IDs

- graphics

## Subcategory IDs

- graphics\.shaders

## Tags

- GLSL
- HLSL
- WGSL
- shaders

## Also known as

- patriciogonzalezvivo/lygia

## [Selection purpose](<https://base.akulich.dev/en/library/lygia/#resource-selection>)

Reusable shader functions

## [Choose this when](<https://base.akulich.dev/en/library/lygia/#resource-selection>)

- Reusable shader functions
- Generative graphics and image processing

## [Requirements](<https://base.akulich.dev/en/library/lygia/#resource-selection>)

- A local shader pipeline requires an include resolver; prune\.py lets you retain files for the selected language\.

## [Limitations](<https://base.akulich.dev/en/library/lygia/#resource-selection>)

- Costs and limits of free use: Continued commercial use requires a Patron/sponsorship or other commercial license; GPU and application hosting are billed separately\.
- Terms of use: Prosperity Public License 3\.0\.0 / commercial Patron License\. Free noncommercial use; the commercial trial is limited to 30 days\. Ongoing commercial use requires a license through Patron/sponsorship or a separate agreement\.
- The thirty\-day company trial is not a permanent free commercial right; exact Patron pricing and terms have not been established\.

## [Questions before use](<https://base.akulich.dev/en/library/lygia/#resource-faq>)

### What can you use for free in Lygia?

Noncommercial shaders and commercial evaluation within Prosperity’s cumulative 30\-day period\.

### What additional costs might arise with Lygia?

Continued commercial use requires a Patron/sponsorship or other commercial license; GPU and application hosting are billed separately\.

### What terms of use matter for Lygia?

Prosperity Public License 3\.0\.0 / commercial Patron License\. Free noncommercial use; the commercial trial is limited to 30 days\. Ongoing commercial use requires a license through Patron/sponsorship or a separate agreement\.

### How do you get started with Lygia?

Check the project's stack and version against the current Lygia documentation; add the package or the required source component\. Implement the selected workflow with the supplied data, adapting styles and states to the project\. Check the result in the target environment, remove sample data, and retain the notices required by the license\.

### How does local LYGIA use differ from the server resolver, and how is the trial counted?

Local shaders must resolve \#include dependencies; the library can be embedded in the project, used through an npm bundle, or added with a bundler plugin\. The server resolver resolves dependencies online\. Prosperity 3\.0\.0 permits noncommercial use and a 30\-day commercial trial: a company has one trial for its entire staff rather than a separate trial for every developer\.

## Sources for the selection guide

- [https://lygia\.xyz](<https://lygia.xyz>)
- [https://github\.com/patriciogonzalezvivo/lygia](<https://github.com/patriciogonzalezvivo/lygia>)
- [https://github\.com/patriciogonzalezvivo/lygia/blob/main/README\.md](<https://github.com/patriciogonzalezvivo/lygia/blob/main/README.md>)
- [https://github\.com/patriciogonzalezvivo/lygia/blob/main/LICENSE\.md](<https://github.com/patriciogonzalezvivo/lygia/blob/main/LICENSE.md>)
- [https://lygia\.xyz/license](<https://lygia.xyz/license>)
- [https://raw\.githubusercontent\.com/patriciogonzalezvivo/lygia/HEAD/README\.md](<https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/patriciogonzalezvivo/lygia/HEAD/LICENSE\.md](<https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/HEAD/LICENSE.md>)

## [Possible workflow](<https://base.akulich.dev/en/library/lygia/#resource-scenario>)

Reusable shader functions with Lygia\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A working GLSL; HLSL; WGSL project and a specific use case: reusable shader functions\.
- A design, interface states, or dataset; target screens and accessibility requirements\.

## Steps

1. Check the project's stack and version against the current Lygia documentation; add the package or the required source component\.
2. Implement the selected workflow with the supplied data, adapting styles and states to the project\.
3. Check the result in the target environment, remove sample data, and retain the notices required by the license\.

## Check your result

- The example works in the chosen tech stack, including target dimensions and input errors\.
- Dependency size, keyboard behavior, and reduced motion suit the task; license terms are met\.

## [License](<https://base.akulich.dev/en/library/lygia/#resource-license>)

Prosperity Public License 3\.0\.0 / commercial Patron License\. Free noncommercial use; the commercial trial is limited to 30 days\. Ongoing commercial use requires a license through Patron/sponsorship or a separate agreement\.

## License explanations for the specified scope

### Custom license — this product's terms apply

The license name does not imply standard MIT or GPL rights\. Its own text determines permission to modify, work commercially, distribute, and use outputs\. Follow the use case stated for the product above and the primary source for its terms\.

## [Sources](<https://base.akulich.dev/en/library/lygia/#resource-sources>)

- [Official website](<https://lygia.xyz>)
- [Source code](<https://github.com/patriciogonzalezvivo/lygia>)
- [Documentation and use](<https://github.com/patriciogonzalezvivo/lygia/blob/main/README.md>)
- [License](<https://github.com/patriciogonzalezvivo/lygia/blob/main/LICENSE.md>)
- [Commercial Patron License](<https://lygia.xyz/license>)
- [Official source](<https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/HEAD/README.md>)
- [Official source](<https://raw.githubusercontent.com/patriciogonzalezvivo/lygia/HEAD/LICENSE.md>)

## Editorial review date

2026\-10\-06

## Editorial review scope

Purpose, published primary source code/documentation, and license terms were reviewed\. An example was not run in a local project\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
