# glsl-voronoi-noise

> voronoi noise, glslify compatible

Latest version **1.2.2** (published 2018-02-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install glsl-voronoi-noise
pnpm add glsl-voronoi-noise
yarn add glsl-voronoi-noise
bun add glsl-voronoi-noise
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.2 |
| Published | 2018-02-05 |
| First published | 2018-01-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 92 |
| Author | maxbittker |
| Maintainers | maxbittker |
| Keywords | glsl, glslify, webgl, noise, stack.gl, regl, stackgl, shader |

## Links

- npm: https://www.npmjs.com/package/glsl-voronoi-noise
- Repository: https://github.com/MaxBittker/glsl-voronoi-noise
- Homepage: https://github.com/MaxBittker/glsl-voronoi-noise#readme
- Issues: https://github.com/MaxBittker/glsl-voronoi-noise/issues
- npm.io page: https://npm.io/package/glsl-voronoi-noise

## Recent versions

- 1.2.2 (latest) — 2018-02-05
- 1.2.1 — 2018-02-05
- 1.2.0 — 2018-02-05
- 1.1.0 — 2018-02-02
- 1.0.1 — 2018-01-28
- 1.0.0 — 2018-01-28
- 0.0.1 — 2018-01-28

## README

# glsl-voronoi-noise

Voronoi noise, packed for glslify

 &nbsp; | &nbsp; 
:-------------------------:|:-------------------------:
![example 2d output](https://i.imgur.com/0i4AeaX.png)  |  ![example 3d output](https://i.imgur.com/sTFMgzv.png)

usage: 
```glsl
precision mediump float;
#pragma glslify: voronoi3d = require('glsl-voronoi-noise/3d')

varying vec2 uv;
uniform float t;

void main() {
    gl_FragColor.rgb = voronoi3d(vec3(uv, t));  
    gl_FragColor.a   = 1.0;
}
```
See also: [glsl-worley](https://github.com/Erkaman/glsl-worley)

Implementations from [Shawn Lawson](https://github.com/shawnlawson/The_Force/blob/b28befa00fc8c2c128945ee36c55df4e1bb8416d/shaders/header.frag#L186-L226)

---
_Source: https://npm.io/package/glsl-voronoi-noise · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
