nannou already ships with the noise crate
This commit is contained in:
parent
ab4e9bb30d
commit
24dc74c23b
2 changed files with 5 additions and 3 deletions
|
|
@ -12,5 +12,4 @@ path = "src/noise-studies-01.rs"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nannou = "0.18"
|
nannou = "0.18"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
noise = "0.7.0"
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
use nannou::{prelude::*, color::Alpha};
|
use nannou::{
|
||||||
use noise::{Fbm, NoiseFn};
|
prelude::*,
|
||||||
|
color::Alpha,
|
||||||
|
noise::{Fbm, NoiseFn}
|
||||||
|
};
|
||||||
|
|
||||||
const WIDTH: f32 = 512.0;
|
const WIDTH: f32 = 512.0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue