Draws axis spikes for 2D plots
Check back later
npm i gl-spikes2d
Creates a new spike overlay for the given 2d plot
plot
is agl-plot2d
instanceoptions
is an object with a set of properties for the spike object
The properties of the options object are as follows:
enable
Enables rendering of the spikes for each axiswidth
The width of each spikecolor
Color of each spikecenter
Center of spikes
Updates the spike object in place. Similar behavior to constructor.
Destroys the spikes object
(c) 2015 Mikola Lysenko. MIT License