new BackgroundStar(centerX, centerY, averageopt, breakpointopt)
BackgroundStar handle stars in frequency circle.
This will display a single canvas with frequency displayed with.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
centerX |
number | The start x origin |
||
centerY |
number | The start y origin |
||
average |
number |
<optional> |
0 | The audio bin average value |
breakpoint |
number |
<optional> |
132 | The size and color breakpoint value to be compared with average |
- Since:
- 2020
- Source:
Methods
(static) updatePosition(tick, radiusFactor)
Update the background star position.
Parameters:
Name | Type | Description |
---|---|---|
tick |
number | The multiplier value for position variation |
radiusFactor |
number | The star radius variation factor |
- Since:
- 2020
- Source: