You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library provides a simple to use webgl shader component, with included framework wrappers and strong typing. Shaders are powerful tools and can be used to add a lot of visual interest to your web project. However, setting-up many shader tools can be complicated and add a large bundle to your project, this library provides a simple core package to make rendering a shader in your DOM incredibly easy.
12
11
@@ -16,7 +15,61 @@ While libraries like [three.js](https://threejs.org/) are amazing, not every pro
16
15
17
16
## Installation & Usage
18
17
```zsh
19
-
npm i simple-shader-component
18
+
bun i simple-shader-component
19
+
```
20
+
21
+
The base class and types are all exported from the root of the package.
22
+
```ts
23
+
import { Shader } from'simple-shader-component'
24
+
```
25
+
26
+
Framework wrappers are available under sub exports.
0 commit comments