lygia/drawlygia/draw/arrowslygia/draw/axislygia/draw/bridgelygia/draw/charlygia/draw/circlelygia/draw/colorCheckerlygia/draw/colorPickerlygia/draw/digitslygia/draw/filllygia/draw/fliplygia/draw/hexlygia/draw/linelygia/draw/matrixlygia/draw/pointlygia/draw/rectlygia/draw/strokelygia/draw/triLygia functions are small and self-contained. You can just copy, paste and edit them into your app if you prefer doing things manually! ↩
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.) ↩
lygia/draw/axislygia/draw/bridgelygia/draw/circlelygia/draw/colorPickerlygia/draw/digitslygia/draw/filllygia/draw/fliplygia/draw/hexlygia/draw/linelygia/draw/matrixlygia/draw/pointlygia/draw/rectlygia/draw/strokelygia/draw/triLygia functions are small and self-contained. You can just copy, paste and edit them into your app if you prefer doing things manually! ↩
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.) ↩
lygia/draw/arrowslygia/draw/bridgelygia/draw/circlelygia/draw/colorCheckerlygia/draw/colorPickerlygia/draw/digitslygia/draw/filllygia/draw/fliplygia/draw/hexlygia/draw/matrixlygia/draw/pointlygia/draw/rectlygia/draw/strokelygia/draw/triLygia functions are small and self-contained. You can just copy, paste and edit them into your app if you prefer doing things manually! ↩
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.) ↩
lygia/draw/arrowslygia/draw/axislygia/draw/bridgelygia/draw/charlygia/draw/circlelygia/draw/colorCheckerlygia/draw/colorPickerlygia/draw/digitslygia/draw/filllygia/draw/fliplygia/draw/hexlygia/draw/linelygia/draw/matrixlygia/draw/pointlygia/draw/rectlygia/draw/strokelygia/draw/triLygia functions are small and self-contained. You can just copy, paste and edit them into your app if you prefer doing things manually! ↩
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.) ↩
Lygia functions are small and self-contained. You can just copy, paste and edit them into your app if you prefer doing things manually! ↩
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.) ↩
Lygia functions are small and self-contained. You can just copy, paste and edit them into your app if you prefer doing things manually! ↩
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.) ↩