Crates.io | dbpnoise |
lib.rs | dbpnoise |
version | 0.1.2 |
source | src |
created_at | 2022-06-11 12:40:31.469753 |
updated_at | 2022-06-11 14:35:18.798204 |
description | 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. |
homepage | |
repository | |
max_upload_size | |
id | 604087 |
size | 15,970 |
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.