<
See More

!— Open Graph data —> <!— FavIcon —>

LYGIA Shader Library

LYGIA Shader Library

lygia/color

Check it on Github


  1. Lygia functions are small and self-contained. You can just copy, paste and edit them into your app if you prefer doing things manually! 

  2. Lygia currently hosts two versions of WebGPU shaders. The newer versions use the WESL language and have a .wesl suffix. For new Lygia users, we recommend .wesl. (The older versions use a .wgsl suffix, but are less complete and use a custom #include syntax.) 


  1. Lygia functions are small and self-contained. You can just copy, paste and edit them into your app if you prefer doing things manually! 

  2. Lygia currently hosts two versions of WebGPU shaders. The newer versions use the WESL language and have a .wesl suffix. For new Lygia users, we recommend .wesl. (The older versions use a .wgsl suffix, but are less complete and use a custom #include syntax.) 


  1. Lygia functions are small and self-contained. You can just copy, paste and edit them into your app if you prefer doing things manually! 

  2. Lygia currently hosts two versions of WebGPU shaders. The newer versions use the WESL language and have a .wesl suffix. For new Lygia users, we recommend .wesl. (The older versions use a .wgsl suffix, but are less complete and use a custom #include syntax.) 


  1. Lygia functions are small and self-contained. You can just copy, paste and edit them into your app if you prefer doing things manually! 

  2. Lygia currently hosts two versions of WebGPU shaders. The newer versions use the WESL language and have a .wesl suffix. For new Lygia users, we recommend .wesl. (The older versions use a .wgsl suffix, but are less complete and use a custom #include syntax.) 


  1. Lygia functions are small and self-contained. You can just copy, paste and edit them into your app if you prefer doing things manually! 

  2. Lygia currently hosts two versions of WebGPU shaders. The newer versions use the WESL language and have a .wesl suffix. For new Lygia users, we recommend .wesl. (The older versions use a .wgsl suffix, but are less complete and use a custom #include syntax.) 


  1. Lygia functions are small and self-contained. You can just copy, paste and edit them into your app if you prefer doing things manually! 

  2. Lygia currently hosts two versions of WebGPU shaders. The newer versions use the WESL language and have a .wesl suffix. For new Lygia users, we recommend .wesl. (The older versions use a .wgsl suffix, but are less complete and use a custom #include syntax.)