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 is a Work In Progress... Feel free to request features, report bugs or contribute.
4
-
> We will try to keep the APIs stable, however, some APIs might change.
3
+
> This library is a Work In Progress. Feel free to request features, report bugs, or contribute. We aim to keep the APIs stable, though some changes may occur.
"webgl-generative-particles" is an efficient WebGL-based generative particle system simulator designed for both React and vanilla JS applications. This system follows the mouse pointer, providing interactive and dynamic visual effects. It offers seamless integration with React (including React 18 and beyond) and Next.js, making it an ideal choice for modern frontend development. The simulator is customizable, compatible with various frameworks, and delivers high performance and real-time rendering for progressive web development.
9
8
9
+
> Check out the live demo at - https://webgl-generative-particles.vercel.app/
10
+
11
+
## Features
12
+
10
13
✅ Fully Treeshakable (import from `webgl-generative-particles/react`)
11
14
12
15
✅ Fully TypeScript Supported
@@ -25,17 +28,19 @@
25
28
26
29
### Installation
27
30
31
+
Using pnpm:
32
+
28
33
```bash
29
34
$ pnpm add webgl-generative-particles
30
35
```
31
36
32
-
**_or_**
37
+
Using npm:
33
38
34
39
```bash
35
40
$ npm install webgl-generative-particles
36
41
```
37
42
38
-
**_or_**
43
+
Using yarn:
39
44
40
45
```bash
41
46
$ yarn add webgl-generative-particles
@@ -58,35 +63,32 @@ import { Particles } from "webgl-generative-particles/react";
58
63
59
64
```ts
60
65
exportinterfaceParticlesOptions {
61
-
/**particle Color @defaultValue [1, 0, 0, 1] -> red */
66
+
/**Particle Color @defaultValue [1, 0, 0, 1] -> red */
62
67
rgba?: [number, number, number, number];
63
-
/**@defaultValue 100_000 */
68
+
/**Maximum number of particles @defaultValue 100_000 */
0 commit comments