All Projects → joshforisha → fractal-noise-js

joshforisha / fractal-noise-js

Licence: Unlicense License
Fractal noise functions

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to fractal-noise-js

Noise Rs
Procedural noise generation library for Rust.
Stars: ✭ 302 (+716.22%)
Mutual labels:  procedural-generation, noise
Procedural-Generation
An Overview of Procedural Generation Techniques and Applications
Stars: ✭ 23 (-37.84%)
Mutual labels:  procedural-generation, noise
DungeonTemplateLibraryUnity
🌏: Dungeon free resources (terrain & roguelike generation)
Stars: ✭ 51 (+37.84%)
Mutual labels:  procedural-generation, noise
Three.terrain
A procedural terrain generation engine for use with the Three.js 3D graphics library for the web.
Stars: ✭ 353 (+854.05%)
Mutual labels:  procedural-generation, noise
Erics Magicavoxel Shaders
Shaders for MagicaVoxel including Terrain Generator, Life Game, Waterflow Emulator, Advanced Flood System etc.
Stars: ✭ 99 (+167.57%)
Mutual labels:  procedural-generation, noise
Fastnoise2
Modular node based noise generation library using SIMD, C++17 and templates
Stars: ✭ 196 (+429.73%)
Mutual labels:  procedural-generation, noise
Texturegenerator
3D and 2D Texture generation using the compute shaders within the Unity engine.
Stars: ✭ 142 (+283.78%)
Mutual labels:  procedural-generation, noise
CubicNoise
1D & 2D Random noise with bicubic interpolation
Stars: ✭ 76 (+105.41%)
Mutual labels:  procedural-generation, noise
WaveCollapseFunction
Unity project that uses Wave Collapse Function to procedurally generate buildings
Stars: ✭ 20 (-45.95%)
Mutual labels:  procedural-generation
OBNI
Objet Bruité Non Identifié - Unity displacement shader
Stars: ✭ 28 (-24.32%)
Mutual labels:  noise
calder
Interactive constraints for controlling the growth of procedural models.
Stars: ✭ 17 (-54.05%)
Mutual labels:  procedural-generation
SimpleErosion
Simple C++ implementatoin of particle-based hydraulic erosion on a square grid
Stars: ✭ 64 (+72.97%)
Mutual labels:  procedural-generation
spacestation
A procedural spacestation generator
Stars: ✭ 22 (-40.54%)
Mutual labels:  procedural-generation
procedural-art
🌌 Procedural art with vanilla JavaScript
Stars: ✭ 83 (+124.32%)
Mutual labels:  procedural-generation
Thalatta
An open source terrain generation suite.
Stars: ✭ 37 (+0%)
Mutual labels:  procedural-generation
unity-shadergraph-sketches
🎨 Sketches made with ShaderGraph in Unity.
Stars: ✭ 47 (+27.03%)
Mutual labels:  procedural-generation
wfc
Go port of the Wave Function Collapse algorithm
Stars: ✭ 47 (+27.03%)
Mutual labels:  procedural-generation
Symbinode
Free and open source program for creating procedural materials.
Stars: ✭ 52 (+40.54%)
Mutual labels:  procedural-generation
xibalba
A Mayan roguelike
Stars: ✭ 50 (+35.14%)
Mutual labels:  procedural-generation
convchain
Javascript port of https://github.com/mxgmn/ConvChain
Stars: ✭ 44 (+18.92%)
Mutual labels:  procedural-generation

Fractal Noise

Fractal noise functions designed to be used with any noise generation algorithm.

Examples

These images were all generated using basic value noise with width: 888 and height: 111.

makeCylinderSurface(width, height, valueNoise3D, { frequency: 0.04, octaves: 2 })

Low frequency, double octave cylinder

makeCylinderSurface(width, height, valueNoise3D, { frequency: 0.06, octaves: 8 })

Medium frequency, high octave cylinder

makeLine(width, valueNoise1D) // (Replicated across y-axis)

Default line

makeLine(height, valueNoise1D, { frequency: 0.1 }) // (Replicated across x-axis)

High frequency line

makeRectangle(width, height, valueNoise2D)

Default rectangle

makeRectangle(width, height, valueNoise2D, { frequency: 0.04, octaves: 8 })

Low frequency, high octave rectangle

API

interface Options { amplitude?; frequency?; octaves?; persistence? }
  • amplitude?: number – Defaults to 1.0
  • frequency?: number – Defaults to 1.0
  • octaves?: number – Defaults to 1
  • persistence?: number – Defaults to 0.5
makeCuboid(width, height, depth, noise3, options?): number[][]
  • width: number
  • height: number
  • depth: number
  • noise3: (x: number, y: number, z: number) => number
  • options?: Options = {}

Generates a three-dimensional noise field for a rectangular cuboid.

makeCylinderSurface(circumference, height, noise3, options?): number[][]
  • circumference: number
  • height: number
  • noise3: (x: number, y: number, z: number) => number
  • options?: Options = {}

Generates a two-dimensional noise field formed around a three-dimensional cylinder, such that it is continuous across the x-boundaries.

makeLine(length, noise1, options?): number[]
  • length: number
  • noise1: (x: number) => number
  • options?: Options = {}

Generates a one-dimensional noise field.

makeRectangle(width, height, noise2, options?): number[][]
  • width: number
  • height: number
  • noise2: (x: number, y: number) => number
  • options?: Options = {}

Generates a two-dimensional noise field isolated to width and height (non-continuous noise).

makeSphereSurface(circumference, options?): number[][]
  • circumference: number
  • noise3: (x: number, y: number, z: number) => number
  • options?: Options = {}

Generates a two-dimensional noise field formed on the surface of a three-dimensional sphere.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].