Skip to content

Commit

Permalink
Bump simdnoise again
Browse files Browse the repository at this point in the history
  • Loading branch information
valadaptive committed Dec 19, 2024
1 parent 096edab commit 5412226
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/ntscrs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = "https://github.com/valadaptive/ntsc-rs/tree/main/crates/ntscrs"
glam = "0.29.2"
rand = { version = "0.8.5", default-features = false }
rand_xoshiro = "0.6.0"
simdnoise = { git = "https://github.com/valadaptive/rust-simd-noise", rev = "e5d6174" }
simdnoise = { git = "https://github.com/valadaptive/rust-simd-noise", rev = "8308fd4" }
num-traits = "0.2"
macros = {path = "../macros"}
siphasher = "1.0.0"
Expand Down
1 change: 1 addition & 0 deletions crates/ntscrs/src/ntsc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ fn video_noise_line(
// Yes, they got the lacunarity backwards by making it apply to frequency instead of scale.
// 2.0 *halves* the scale each time because it doubles the frequency.
.with_lacunarity(2.0)
.with_gain(1.0)
.generate_into(scratch);

row.iter_mut().enumerate().for_each(|(x, pixel)| {
Expand Down

0 comments on commit 5412226

Please sign in to comment.