#noise #discrete #generate #grid #2d #parallelized #stamp

bin+lib dbpnoise

dbpnoise (discrete, batched, perlin-like noise) is a parallelized, seeded, discrete perlin-like noise algorithm designed for quickly generating simple 1-0 maps for 2d games

3 releases

0.1.2 Jun 11, 2022
0.1.1 Jun 11, 2022
0.1.0 Jun 11, 2022

#540 in Games

Download history 18/week @ 2023-12-04 9/week @ 2023-12-11 8/week @ 2023-12-18 35/week @ 2023-12-25 2/week @ 2024-01-01 18/week @ 2024-01-08 9/week @ 2024-01-29 18/week @ 2024-02-05 22/week @ 2024-02-12 53/week @ 2024-02-19 39/week @ 2024-02-26 34/week @ 2024-03-04 34/week @ 2024-03-11 28/week @ 2024-03-18

136 downloads per month

MIT license

9KB
111 lines

batch-perlin-like-noise-rs

Batched, discrete, parallelized perlin-like noise that uses a perlin-inspired algorithm to generate a large grid of boolean values.

DBPnoise works by first creating a series of "stamps" which are precalculated 2d grids that contain the dot product value between the vector from the cell to the centre of the stamp, and the vector located at the centre of stamp. This series of stamps is then partially overlayed on top of each other and passed through the standard smoothstep function to generate the result.

Dependencies

~2MB
~34K SLoC