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

fragment-shader

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fragment-shader - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

classes/Plane.ts

2

package.json
{
"name": "fragment-shader",
"version": "0.0.1",
"version": "0.0.2",
"description": "A lightweight, performant WebGL fragment shader renderer.",

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

@@ -8,3 +8,3 @@ # fragment-shader

const shader = new Shader(/* glsl */ `
new Shader(`
void main () {

@@ -14,9 +14,2 @@ gl_FragColor = vec4(.8, .2, .7, 1.);

`);
const tick = now => {
requestAnimationFrame(tick);
shader.tick(now);
};
requestAnimationFrame(tick);
```
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