Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/camargo/gl-plot-2d
A Web Component for gl-plot2d.
https://github.com/camargo/gl-plot-2d
gl-plot2d skatejs stackgl web-components webgl
Last synced: 13 days ago
JSON representation
A Web Component for gl-plot2d.
- Host: GitHub
- URL: https://github.com/camargo/gl-plot-2d
- Owner: camargo
- License: mit
- Created: 2017-02-21T23:51:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-21T01:17:19.000Z (almost 8 years ago)
- Last Synced: 2024-12-15T10:54:30.503Z (21 days ago)
- Topics: gl-plot2d, skatejs, stackgl, web-components, webgl
- Language: TypeScript
- Size: 1.66 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# gl-plot-2d
This is a Web Component that wraps [gl-plot2d](https://github.com/gl-vis/gl-plot2d).
![Line Plot](http://i.imgur.com/WMq7o80.png)
## Installation ([npm](https://www.npmjs.com/package/gl-plot-2d))
```
npm install gl-plot-2d --save
```## Example
- `` in React - [Demo](https://camargo.github.io/gl-plot-2d/example) / [Code](https://github.com/camargo/gl-plot-2d/tree/master/example)
## Build & Run Example
```
npm install
bash build.sh
```## Average Draw Times
These were calculated by taking the average of 20 individual draw calls.
| | 10,000 Points | 100,000 Points | 1,000,000 Points |
|-------------------------------|---------------|----------------|------------------|
| Chrome (56.0.2924.87) | 4.208ms | 4.399ms | 4.460ms |
| Firefox (51.0.1) | 5.006ms | 5.573ms | 7.272ms |