You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

webgl-plot

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

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.2.9

dist/ColorRGBA.d.ts

3

dist/bundle.js

@@ -226,5 +226,2 @@ var webglplotBundle = (function (exports) {

this.gOffsetY = 0;
//this.backgroundColor = new ColorRGBA(255,0,0,1);
// Clear the canvas
//webgl.clearColor(this.backgroundColor.r, this.backgroundColor.g, this.backgroundColor.b, this.backgroundColor.a);
// Enable the depth test

@@ -231,0 +228,0 @@ webgl.enable(webgl.DEPTH_TEST);

@@ -38,5 +38,2 @@ /**

this.gOffsetY = 0;
//this.backgroundColor = new ColorRGBA(255,0,0,1);
// Clear the canvas
//webgl.clearColor(this.backgroundColor.r, this.backgroundColor.g, this.backgroundColor.b, this.backgroundColor.a);
// Enable the depth test

@@ -43,0 +40,0 @@ webgl.enable(webgl.DEPTH_TEST);

{
"name": "webgl-plot",
"version": "0.2.8",
"version": "0.2.9",
"description": "High-performance 2D plotting framework based on native WebGL",
"main": "./dist/webglplot",
"typings": "./src/webglplot",
"types": "./src/webglplot",
"main": "./dist/webglplot.js",
"typings": "./dist/webgl-plot.d.ts",
"types": "./dist/webgl-plot.d.ts",
"dependencies": {},
"devDependencies": {
"@microsoft/api-documenter": "^7.7.12",
"@microsoft/api-extractor": "^7.7.8",
"rollup": "^1.31.1",
"typedoc": "^0.16.10",
"typedoc-plugin-markdown": "^2.2.16",
"typescript": "^3.8.2"

@@ -13,0 +16,0 @@ },

@@ -20,6 +20,7 @@

* @example
* ```
* ```typescript
* x= [0,1]
* y= [1,2]
* line = new WebglLine( new ColorRGBA(0.1,0.1,0.1,1), 2);
* ```
*/

@@ -26,0 +27,0 @@ constructor(c: ColorRGBA, numPoints: number) {

Sorry, the diff of this file is not supported yet