External module "universe/forces"
Functions
blackHole
- blackHole(blackHoleX: number, blackHoleY: number, strength?: number): ParticleForce
-
Parameters
-
blackHoleX: number
-
blackHoleY: number
-
Default value strength: number = 1
disturbance
- disturbance(x: number, y: number, strength?: number): ParticleForce
-
Parameters
-
x: number
-
y: number
-
Default value strength: number = 1