open_simplex_noise 2.3.1
open_simplex_noise: ^2.3.1 copied to clipboard

Open Simplex Noise implemented in Dart

OpenSimplexNoise #

This generates smoothly-changing deterministic random values in 2, 3, or 4 dimensions. This can be used for procedurally generated textures, shapes, or terrain.

noise comparisons

OpenSimplex noise is a Dart implementation of Kurt Spencer's patent-free alternative to Classic Perlin and Simplex noise.

Usage #

import 'package:open_simplex_noise/open_simplex_noise.dart';

OpenSimplexNoise noise = new OpenSimplexNoise();

void main() {
  ...
  double value = noise.eval3D(x, y, z);
  ...
}

Installing #

  • Clone this repo locally
  • Install Dart 2
  • Run pub get

Run unit-tests #

  • Run pub run test/test.dart

More information #