Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
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

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
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;
}

Implimentations adapted from: https://gist.github.com/patriciogonzalezvivo/670c22f3966e662d2f83

Keywords

glsl

FAQs

Package last updated on 28 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