rusalka 1.0.0

A 3D Perlin Noise Generator
Documentation
  • Coverage
  • 50%
    2 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 8.53 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.37 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • maldrasen

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);