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

@paper-design/shaders

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paper-design/shaders

This is the vanilla JS of Paper Shaders. You can also find framework specific wrappers.

  • 0.0.15
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
117
decreased by-15.22%
Maintainers
0
Weekly downloads
 
Created
Source

@paper-design/shaders

This is the vanilla JS of Paper Shaders. You can also find framework specific wrappers.

Example usage:

import { ShaderMount, meshGradientFragmentShader } from '@paper-design/shaders';

const myCanvas = document.createElement('canvas');

const shaderParams = {
  colors: ['#283BFC', color2: '#FF2828'],
  blur: 0.6,
  frequency: 0.8,
  animationSpeed: 1
}

const meshGradient = new ShaderMount(myCanvas, meshGradientFragmentShader, shaderParams);

FAQs

Package last updated on 12 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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