Skip to content

Commit 11390af

Browse files
committed
Update doc comments
1 parent c07dbe4 commit 11390af

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/src/simulator.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,15 @@ let mouseX = 0,
3030
type Vector2D = [number, number];
3131

3232
export interface ParticlesOptions {
33+
/** @defaultValue 100_000 */
3334
maxParticles?: number;
35+
/** @defaultValue 0.5 */
3436
generationRate?: number;
37+
/** @defaultValue false */
3538
overlay?: boolean;
39+
/** @defaultValue false */
3640
mouseOff?: boolean;
37-
/** min and max Angles in radians: -Math.PI to Math.PI */
41+
/** min and max Angles in radians: @defaultValue [-Math.PI, Math.PI] */
3842
angleRage?: [number, number];
3943
/** todo */
4044
/** min and max age of particles */

0 commit comments

Comments
 (0)