#noise #discrete #generate #grid #parallelized #2d #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

#447 in Games

Download history 2109/week @ 2024-07-25 1677/week @ 2024-08-01 1810/week @ 2024-08-08 1595/week @ 2024-08-15 1407/week @ 2024-08-22 2300/week @ 2024-08-29 2469/week @ 2024-09-05 2477/week @ 2024-09-12 2757/week @ 2024-09-19 3387/week @ 2024-09-26 3612/week @ 2024-10-03 5197/week @ 2024-10-10 5536/week @ 2024-10-17 4825/week @ 2024-10-24 3995/week @ 2024-10-31 5319/week @ 2024-11-07

20,008 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