c2.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Arc
Field
Circle
Constraint
Circle
Field
Collision
Const
Force
Constraint
Force
Gravitation
constructor
G
iterations
apply
filter
range
Interaction
Force
Line
Field
Particle
Point
Field
Polygon
Constraint
Rect
Constraint
Spring
World
Hierarchy
InteractionForce
Gravitation
Index
Constructors
constructor
Properties
G
iterations
Methods
apply
filter
range
Constructors
constructor
new
Gravitation
(
G
?:
number
)
:
Gravitation
Parameters
G:
number
= 1
Returns
Gravitation
Properties
G
G
:
number
iterations
iterations
:
number
= 1
Methods
apply
apply
(
particles
:
Particle
[]
)
:
void
Parameters
particles:
Particle
[]
Returns
void
filter
filter
(
f
:
Function
)
:
void
Parameters
f:
Function
Returns
void
range
range
(
min
?:
number
, max
?:
number
)
:
void
Parameters
min:
number
= 0
max:
number
= ...
Returns
void