Skip to content

Commit 48f1341

Browse files
committed
Update README.md
1 parent 4f870bc commit 48f1341

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

README.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Npm Build](https://github.com/danchitnis/webgl-plot/workflows/Npm%20Build/badge.svg) ![Yarn Build](https://github.com/danchitnis/webgl-plot/workflows/Yarn%20Build/badge.svg) ![Code scanning](https://github.com/danchitnis/webgl-plot/workflows/Code%20scanning/badge.svg) ![Build](https://github.com/danchitnis/webgl-plot/workflows/Build/badge.svg) [![DOI](https://zenodo.org/badge/205590760.svg)](https://zenodo.org/badge/latestdoi/205590760)
1+
![Npm Build](https://github.com/danchitnis/webgl-plot/workflows/Npm%20Build/badge.svg) ![Yarn Build](https://github.com/danchitnis/webgl-plot/workflows/Yarn%20Build/badge.svg) ![Code scanning](https://github.com/danchitnis/webgl-plot/workflows/Code%20scanning/badge.svg) [![DOI](https://zenodo.org/badge/205590760.svg)](https://zenodo.org/badge/latestdoi/205590760)
22

33
## [Live demo 🚀](https://danchitnis.github.io/webgl-plot-examples/vanilla/)
44

@@ -27,6 +27,10 @@ multi-line high-performance 2D plotting library using native WebGL. The advantag
2727

2828
However notice that due to computation of the line data points, the performance of the thick lines is nearly _6 times slower_ than the normal lines. Only use thick lines when you need to see the lines clearly for example when highlighting a specific line. Further information can be found below. For benchmarking, see the [benchmark](https://github.com/danchitnis/webgl-plot#benchmark) section.
2929

30+
## Version `next` coming soon 🎉
31+
32+
The next version is currently under development. More computation is moved to the GPU, significantly improving performance. These improvements specifically benefit the rolling plot and the scatter plot. However, these changes require a rewrite of the main library and migration to `webgl2`. The current version will remain as no maintenance is needed since it is based on pure javascript. See an example [here](https://codesandbox.io/s/wbglscatteracc-krsvmy).
33+
3034
## Python vesrion now released!! 🥳
3135

3236
See [pyglplot](https://github.com/danchitnis/pyglplot) for the python equivalent of this library. However, please notice the python version is at its early stages.
@@ -147,22 +151,14 @@ For ES6 module and direct browser import use:
147151
and in your-code.js:
148152

149153
```javascript
150-
import {
151-
WebglPlot,
152-
WebglLine,
153-
ColorRGBA,
154-
} from "https://cdn.jsdelivr.net/gh/danchitnis/webgl-plot@master/dist/webglplot.esm.min.js";
154+
import { WebglPlot, WebglLine, ColorRGBA } from "<http source>";
155155
```
156156

157-
Thanks to [TimDaub](https://github.com/TimDaub) for testing the ES6 module.
158-
159-
Notice that this method is only recommended for test and small codes.
160-
161-
## SkyPack
162-
163-
[Skypack](https://www.skypack.dev/view/webgl-plot) is a new exciting CDN for ESM Javascript. See the example below on how to use it:
157+
You can use web-based bundlers such as [esm.sh](https://esm.sh/), [unpkng](https://unpkg.com/), [JSdeliver](https://www.jsdelivr.com/?docs=esm) ,and [jspm](https://jspm.org/) to import the library to get the appropriate `http source`. See an example here:
164158
[JSfiddle](https://jsfiddle.net/danchitnis/tu1svwbp/)
165159

160+
Thanks to [TimDaub](https://github.com/TimDaub) for testing the ES6 module.
161+
166162
## Benchmark
167163

168164
[Native Line](https://danchitnis.github.io/webgl-plot/benchmark/bench1.html) and

0 commit comments

Comments
 (0)