Class: PlotGlass

PlotGlass()

new PlotGlass()

This class creates a webGl context which is transparent to mouse clicks, sizes and positions it to cover the entire browser window. The webGl context is referred to as "glass", and it's position is fixed - it does not scroll with the document.

Source:

Members

_plots

List of DOM elements to render within

Source:

Methods

_clearScreen()

Clear the entire screen.

Source:

add(element, plot)

Add a plot to render.

Parameters:
Name Type Description
element

Dom element to serve as the bounds for rendering

plot

PlotGlass DrawRegion to render on the element bounds

Source: