rusalka

Crates.iorusalka
lib.rsrusalka
version1.0.0
sourcesrc
created_at2022-12-02 02:45:20.172324
updated_at2022-12-02 02:45:20.172324
descriptionA 3D Perlin Noise Generator
homepage
repository
max_upload_size
id728067
size8,997
Maldrasen (maldrasen)

documentation

README

Rusalka

A 3D Perlin Noise Generator adopted from the Javascript package by Jorge Moreno and translated into Rust. [https://github.com/alterebro/perlin-noise-3d]

His version was based on the previous adapting done by Rune Madsen on rune.noise.js, which was an adaptation from P5.js done by Daniel Shiffman, which was an adaptation from Processing / PApplet.java done by Ben Fry, which was an adaptation from the contributions by Karsten Schmidt aka toxi adapting the code created by the German demo scene group Farbrausch on their demo production "art" ( fr010src.zip@files.scene.org ) adapted from the original work by Ken Perlin.

Just keeping this ball rollin'


Usage

This implementation is dead simple. You first create the NoiseGenerator, seeding it with a string. Then get any point in the noise volume with three floats. The example in the main.rs file scales the noise up and prints out a few slices.

  let generator = NoiseGenerator::new("Rusalka!");
      generator.get(x,y,z);
Commit count: 0

cargo fmt