Methods
# static bounce(duration) → {Object}
Create bounce animation
Parameters:
Name | Type | Default | Description |
---|---|---|---|
duration |
number
|
3000 | Animation duration |
Track data
Object
# static colorCycle(colors, duration) → {Object}
Create color cycle animation
Parameters:
Name | Type | Default | Description |
---|---|---|---|
colors |
Array
|
Array of colors to cycle through |
|
duration |
number
|
6000 | Animation duration |
Track data
Object
# static fadeInOut(duration) → {Object}
Create fade in/out animation
Parameters:
Name | Type | Default | Description |
---|---|---|---|
duration |
number
|
5000 | Animation duration |
Track data
Object
# static pulse(duration, pulseCount) → {Object}
Create pulsing animation
Parameters:
Name | Type | Default | Description |
---|---|---|---|
duration |
number
|
4000 | Animation duration |
pulseCount |
number
|
2 | Number of pulses |
Track data
Object
# static spiral(duration, radius, turns) → {Object}
Create spiral animation
Parameters:
Name | Type | Default | Description |
---|---|---|---|
duration |
number
|
8000 | Animation duration |
radius |
number
|
100 | Spiral radius |
turns |
number
|
3 | Number of turns |
Track data
Object