Extends
Members
dialRadius :number
dial radius
Type:
- number
- Source:
name :string
the name of the visualization
Type:
- string
- Overrides:
- Source:
onResize
resize the plots sizes when the screen is resized.
readjust pad, plotWidth, plotHeight, and dialRadius.
- Source:
pad :number
pad
Type:
- number
- Source:
plotHeight :number
plot height
Type:
- number
- Source:
plotWidth :number
pad width
Type:
- number
- Source:
Methods
(amplitude, centreX, bottomY)
draws a needle to an individual plot
Parameters:
- Source:
draw()
visualizes the current sound on the screen
- Overrides:
- Source:
drawTicks(centreX, bottomY, freqLabel)
draw the graph ticks on an indivisual plot
Parameters:
| Name | Type | Description |
|---|---|---|
centreX |
number | central x coordinate of the plot rectangle |
bottomY |
number | The bottom y coordinate of the plot rectangle |
freqLabel |
string | Label denoting the frequency of the plot |
- Source: