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

@graspologic/renderer-glsl

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graspologic/renderer-glsl - npm Package Compare versions

Comparing version 0.7.0-10 to 0.7.0-11

6

dist/cjs/shaders/node.fs.glsl.js

@@ -20,6 +20,2 @@ module.exports = `#version 300 es

float color_scale(float distance) {
return 0.8 + step(distance / vRadius, 0.9) * 0.2;
}
float calculate_circle_distance() {

@@ -47,3 +43,3 @@ float distance = length(vVertex);

// we are drawing
fragColor.rgb = mix(vec3(0.0, 0.0, 0.0), fragColor.rgb, (uOutline * color_scale(distance)));
fragColor.rgb = mix(fragColor.rgb, fragColor.rgb * 0.8, uOutline * step(0.9, distance / vRadius));

@@ -50,0 +46,0 @@ fragColor = picking_filterColor(fragColor);

@@ -0,0 +0,0 @@ module.exports = `#version 300 es

@@ -20,6 +20,2 @@ export default `#version 300 es

float color_scale(float distance) {
return 0.8 + step(distance / vRadius, 0.9) * 0.2;
}
float calculate_circle_distance() {

@@ -47,3 +43,3 @@ float distance = length(vVertex);

// we are drawing
fragColor.rgb = mix(vec3(0.0, 0.0, 0.0), fragColor.rgb, (uOutline * color_scale(distance)));
fragColor.rgb = mix(fragColor.rgb, fragColor.rgb * 0.8, uOutline * step(0.9, distance / vRadius));

@@ -50,0 +46,0 @@ fragColor = picking_filterColor(fragColor);

@@ -0,0 +0,0 @@ export default `#version 300 es

4

package.json
{
"name": "@graspologic/renderer-glsl",
"version": "0.7.0-10",
"version": "0.7.0-11",
"description": "Graph data visualization core renderer (GLSL Code)",

@@ -22,3 +22,3 @@ "license": "MIT",

"devDependencies": {
"@essex/scripts": "^12.0.0",
"@essex/scripts": "^12.0.2",
"@types/fs-extra": "^9.0.2",

@@ -25,0 +25,0 @@ "@types/glob": "^7",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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