New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →

webgl-plot

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webgl-plot - npm Package Compare versions

Comparing version

to
0.4.1

@@ -121,5 +121,5 @@ /**

*/
private viewport;
viewport(a: number, b: number, c: number, d: number): void;
private log;
}
//# sourceMappingURL=webglplot.d.ts.map

@@ -0,0 +0,0 @@ class ColorRGBA {

@@ -0,0 +0,0 @@ (function (global, factory) {

{
"name": "webgl-plot",
"version": "0.4.0",
"version": "0.4.1",
"description": "High-performance 2D plotting library based on native WebGL",

@@ -13,3 +13,3 @@ "main": "./dist/webglplot.umd.js",

"eslint": "^7.6.0",
"rollup": "^2.23.0",
"rollup": "^2.23.1",
"typedoc": "^0.17.8",

@@ -16,0 +16,0 @@ "typedoc-plugin-markdown": "^2.4.0",

@@ -59,4 +59,4 @@ ![npm](https://github.com/danchitnis/webgl-plot/workflows/npm/badge.svg) ![yarn](https://github.com/danchitnis/webgl-plot/workflows/yarn/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)

const color = new ColorRGBA(Math.random(), Math.random(), Math.random(), 1);
const line = new WebglLine(color);
const wglp = new WebGLplot(canvas, numX);
const line = new WebglLine(color, numX);
const wglp = new WebGLplot(canvas);
```

@@ -63,0 +63,0 @@

@@ -251,3 +251,3 @@ /**

*/
private viewport(a: number, b: number, c: number, d: number): void {
public viewport(a: number, b: number, c: number, d: number): void {
this.webgl.viewport(a, b, c, d);

@@ -254,0 +254,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet