new Spine(opt_options=)
Creates a new Spine.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
opt_options= |
Object |
<optional> |
A map of initial joint properties. | |
opt_options.density |
number |
<optional> |
25 | Determines number of joints in the spine. Lower values = more joints. |
opt_options.opacity |
number |
<optional> |
0 | Opacity. |
opt_options.easing |
string |
<optional> |
'easeInCirc' | An easing function to determine joint distribution along the spine. See Easing docs for possible values. |
opt_options.offsetFromAxis |
boolean |
<optional> |
true | Set to false to prevent spine curvature. |