This package has been deprecated

Author message:

This project has been renamed. Install using 'npm i shox' instead.

shadox
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

Shadox

NPM Package

Shader tools.

Usage

CDN

import * as Shadox from "https://cdn.jsdelivr.net/npm/shadox@0.4.0/src/Shadox.js"

const frag = `#version 300 es
  precision mediump float;

  uniform vec2 iResolution;
  // ...

  ${Shadox.noiseMath} // before any noise function
  ${Shadox.snoise3D}
  ${Shadox.snoise3DImage}
  ${Shadox.displace}
  ${Shadox.extend}
  ${Shadox.flip}
  ${Shadox.pixelate}
  ${Shadox.hash}
  ${Shadox.voronoi}
  ${Shadox.gradient}
  ${Shadox.zcPalette(5)}
  ${Shadox.iqPalette}
  ${Shadox.unsharp}
  ${Shadox.blur(30)}
  ${Shadox.mapFunc}
  ${Shadox.smooth}

  void main() {
    // ...
  }
`

NPM

npm i shadox

LICENSE

MIT license

Please refer to the MIT license for detailed licensing information.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i shadox

      Weekly Downloads

      0

      Version

      0.4.0

      License

      MIT

      Unpacked Size

      191 kB

      Total Files

      68

      Last publish

      Collaborators

      • zrnof