Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gl-scatter-plot

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gl-scatter-plot - npm Package Compare versions

Comparing version 5.5.2 to 5.5.3

6

example/example.js

@@ -57,3 +57,3 @@ var shell = require("gl-now")({tickRate: 2})

})
select = createSelect(gl, [shell.height, shell.width])
select = createSelect(gl, [shell.width, shell.height])
})

@@ -64,3 +64,3 @@

//Update size of select buffer
select.shape = [shell.height, shell.width]
select.shape = [shell.width, shell.height]

@@ -101,3 +101,3 @@ //Begin pass, look for points within 30 pixels of mouse

model: [1/SCALE, 0, 0, 0,
0, 1/SCALE, 0, 0,
0, 3/SCALE, 0, 0,
0, 0, 1/SCALE, 0,

@@ -104,0 +104,0 @@ 0, 0, 0, 1]

{
"name": "gl-scatter-plot",
"version": "5.5.2",
"version": "5.5.3",
"description": "3D scatter plot",

@@ -5,0 +5,0 @@ "main": "pointcloud.js",

@@ -190,2 +190,10 @@ 'use strict'

}
var su = 0.0
var sv = 0.0
for(var j=0; j<4; ++j) {
su += Math.pow(model[4*u+j], 2)
sv += Math.pow(model[4*v+j], 2)
}
du[u] /= Math.sqrt(su)
dv[v] /= Math.sqrt(sv)
uniforms.axes = [du, dv]

@@ -192,0 +200,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc