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

glsl-fractal-brownian-noise

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glsl-fractal-brownian-noise

fractal brownian noise, glslify compatible

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14K
increased by56.71%
Maintainers
1
Weekly downloads
 
Created
Source

glsl-fractal-brownian-noise

brownian noise, packed for glslify

example output

usage:

precision mediump float;
#pragma glslify: fbm3d = require('glsl-fractal-brownian-noise/3d')

varying vec2 uv;
uniform float t;

void main() {
    gl_FragColor.rgb = vec3(1.0) * fbm3d(vec3(uv, t), 6);  
    gl_FragColor.a   = 1.0;
}

implementations borrowed from shawn lawson: https://github.com/shawnlawson/The_Force/blob/gh-pages/shaders/header.frag#L259-L271

Keywords

FAQs

Package last updated on 27 Nov 2017

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