new Mover(position, velocity, acceleration, mass, color)
Makes a little ball that can move. This object is to be replaced by KineticMass
Parameters:
Name |
Type |
Description |
position |
p5.Vector
|
A vector object describing the balls acceleration |
velocity |
p5.Vector
|
A vector object describing the ball's velocity |
acceleration |
p5.Vector
|
A vector object describing the ball's acceleration |
mass |
number
|
A scalar quantity indicating the mass |
color |
p5.Color
|
What color do you want the ball to be? |
Properties:
Name |
Type |
Description |
limit |
number
|
how fast can it go? This sets the max speed. |
tail |
bool
|
a tail leaves little dots behind as it moves. |
outline |
color
|
what color is the stroke of the mass? |
- Deprecated:
- Source: