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

@zayesh/noise

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zayesh/noise

A 2D noise texture generator.

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Noise

Build status Windows build status GitHub version npm version Dependencies

A 2d noise texture generator that implements bilinear smoothing and turbulence.

Installation

$ npm install @zayesh/noise

Usage

import Noise from "@zayesh/noise";

var noise = new Noise(800, 600);
var data = noise.generate();
# CLI when used in an npm script
noise -w 1920 -h 1080 -p 0 -o myTexture

# The generated file will be stored in the output folder.
  Optional arguments:
    -w      Width, Number.
    -h      Height, Number.
    -p      Pattern, Number (0, 1, 2).
    -a      Turbulence power, Number.
    -b      Turbulence size, Number.
    -c      Repetition x, Number.
    -d      Repetition y, Number.
    -n, -o  Name of the output file, String.

Examples

Clouds Marble Wood

Documentation

API

License

Copyright (c) 2015 Raoul van Rüschen
Licensed under the Zlib license.

Keywords

FAQs

Package last updated on 26 Oct 2015

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