gl-vis / gl-scatter2d

2D scatter plots
https://gl-vis.github.io/gl-scatter2d
MIT License
11 stars 5 forks source link

gl-scatter2d

WebGL 2D scatter plots for lots of points

Example

For now, see gl-plot2d.

Install

Using npm, you can install this module as follows:

npm i gl-scatter2d

API

Constructor

var scatter = require('gl-scatter2d')(plot, options)

Creates a new 2D scatter plot.

options has the following properties:

Returns A new scatter plot object, which is also registered to plot

Methods

scatter.update(options)

Updates the scatter plot.

scatter.dispose()

Destroys the scatter plot and all associated resources.

License

(c) 2015 Mikola Lysenko. MIT License

Development supported by plot.ly