Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 24, 2022. It is now read-only.

pethin/noisy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

69 Commits

Repository files navigation

noisy is a procedural noise generation library written for Rust.

Note: This crate is no longer maintained. Please use noise-rs.

Using noisy

All the generators of noisy are grouped in one place: the gen module.

  • You can import all the generators using:
use noisy::gen::*;

The preferred way to use noisy is to import generators explicitly:

extern crate noisy;
use noisy::gen::{NoiseGen, Simplex};
fn main() {
 let simplex = Simplex::new();
 let val = simplex.noise3d(1.0, 2.0, 3.0);
 println!("{}", val);
}

Features

noisy is meant to be a general-purpose purpose procedural noise generation library that includes a variety of generators including:

  • Simplex noise.
  • Perlin noise.
  • Checkerboard.

Compilation

You will need the last rust compiler from the master branch. If you encounter problems, make sure you have the last version before creating an issue.

git clone --recursive git://github.com/cacteye/noisy.git
cd noisy
cargo build

You can build the documentation using:

cargo doc

You can build the included examples using:

cargo test

About

A procedural noise generation library written for Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /