noise-rs icon indicating copy to clipboard operation
noise-rs copied to clipboard

Procedural noise generation library for Rust.

Results 55 noise-rs issues
Sort by recently updated
recently updated
newest added

There is little documentation in the library...

As mentioned in #102 the output range of OpenSimplex needs to be fixed.

bug

A lot of the code in each multifractal NoiseModule is common across PointN. Should extract this out in order to follow DRY.

P-Low

The ones that are particularly bad are worley-linear-range, worley-manhattan-range, and worley-chebyshev-range. The ones that fall within [-1,1] but don't hit it exactly (such as worley-linear-squared_4d) are probably just inadequate sampling...

bug
P-Low

worley-quadratic_2d ![worley-quadratic_2d](https://cloud.githubusercontent.com/assets/246232/26763844/6ce56688-490f-11e7-891c-42e2d5462bea.png) worley-quadratic_3d ![worley-quadratic_3d](https://cloud.githubusercontent.com/assets/246232/26763839/6cdc44b8-490f-11e7-9507-922320a8acd6.png) worley-quadratic_4d ![worley-quadratic_4d](https://cloud.githubusercontent.com/assets/246232/26763841/6cdeb112-490f-11e7-9e80-da0e6d946752.png) worley-quadratic-range_2d ![worley-quadratic-range_2d](https://cloud.githubusercontent.com/assets/246232/26763842/6ce02790-490f-11e7-8927-6f61d8733794.png) worley-quadratic-range_3d ![worley-quadratic-range_3d](https://cloud.githubusercontent.com/assets/246232/26763843/6ce0396a-490f-11e7-8d28-6adc63985906.png) worley-quadratic-range_4d ![worley-quadratic-range_4d](https://cloud.githubusercontent.com/assets/246232/26763840/6cdd4660-490f-11e7-8b07-f6dadc6127b9.png) Unless I'm mistaken, that looks very different from what it should. For comparison, here are the linear equivalents...

bug

Sampling worley noise at half-kernels requires a minimum of eight generating points to be samples. Your library only wanders the control points around a disk of radius 0.5 instead of...

bug
P-Medium

Your current feature point selection code constrains the generated points along 8 axes (2D) and contains needless branching. It also creates relatively visually unappealing noise. A much better point distribution...

bug
P-Medium

> In the future I see that these structs could simply implement Fn(Input) -> Output, but we need to wait for these to be stabilized first. > > I also...

enhancement
P-Low

the codegen concerns seem to be resolved https://godbolt.org/z/GGeeETdKh

```shell thread '' panicked at C:\Users\dkolsoi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\noise-0.8.2\src\core\open_simplex.rs:190:18: called `Option::unwrap()` on a `None` value ``` Which points to: https://github.com/Razaekel/noise-rs/blob/7fc78b5a2b046c9589f933e255d87539af2fefe9/src/core/open_simplex.rs#L190 and https://github.com/Razaekel/noise-rs/blob/7fc78b5a2b046c9589f933e255d87539af2fefe9/src/core/open_simplex.rs#L136C59-L136C65 Not sure how to repro, but giving it a shot