Bands
Draws frequency bands as rectangles, similar to a classic graphic equalizer.
DRAFT! This element is in early development and is liable to change or possibly be replaced.
- class
- Bands
- extends
- Frame
- tag
<bands-blam>
Props
| name | type | default | description |
|---|---|---|---|
| count | number | 16 | The number of elements to render, mapping to data bands. If there are more elements than bands (taken from |
| first | number | undefined | The first of the data bands to use. If |
| last | number | undefined | The last of the data bands to use. If |
| shuffle | boolean | false | Whether to shuffle the band/frequency data. |
| analyser | string | A CSS selector for the |
|
| fps | number | 25 | Frames per second. The frequency with which |
Methods
| name | args | description |
|---|---|---|
| start | Starts taking data from the associated |
|
| stop | Changes into a non-running state. Frequency data is still taken from the |
|
| startStop | Toggles between |
Examples
OH FUN! There are currently no examples using Bands.