fast_noise
2.0.0, released 3 years ago by blue-fire.xyz
A port of fast noise algorithms including cellular, cubic, perlin, simplex, value, and white noise.
WASM-ready
What it does
Fast noise provides multiple 2D and 3D noise generation algorithms like Perlin, Simplex, Cellular, Cubic, Value, and White noise. It can be used via helper functions like noise2 and noise3 or by instantiating specific noise classes directly.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need procedural generation for game worlds, maps, or textures.
- You require various noise types such as Perlin, Simplex, or Cellular in Dart.
Skip it when
- You require SIMD optimizations for high-performance noise generation.
- You are looking for non-noise related utility packages.
Strengths
- Supports multiple noise algorithms (cellular, cubic, perlin, simplex, value, white).
- Provides both 2D and 3D noise generation.
Weaknesses
- The Dart version does not yet leverage SIMD for better performance.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
import 'package:fast_noise/fast_noise.dart';
main() {
var arr2d = noise2(
width,
height,
noiseType: NoiseType.perlin,
octaves: 3,
frequency: 0.05,
);
}Works with
Packages commonly used together with fast_noise: ones it builds on, ones built on it, and its own family.