Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arlyon/bluenoise-rs

Ergonomic blue noise (poisson disk sampling) for the masses.
https://github.com/arlyon/bluenoise-rs

bevy bluenoise glam noise rust rust-gamedev

Last synced: 11 days ago
JSON representation

Ergonomic blue noise (poisson disk sampling) for the masses.

Awesome Lists containing this project

README

        

# bluenoise-rs

![version](https://img.shields.io/crates/v/bluenoise?style=flat-square)
![license](https://img.shields.io/crates/l/bluenoise?style=flat-square)

`bluenoise` provides an implementation of poisson disk sampling
in two dimensions, with `glam` as the underlying maths library.
It aims to be fast, well documented and easy to use, taking
advantage of [a few optimisations](http://extremelearning.com.au/an-improved-version-of-bridsons-algorithm-n-for-poisson-disc-sampling/)
to dramatically speed up compute speed.

## Get Started

To get started, if you have [`cargo-edit`](https://github.com/killercup/cargo-edit), simply run:

```
cargo add bluenoise
```

Otherwise, add `bluenoise` to your `Cargo.toml`.

```
[dependencies]
bluenoise = "0.2"
```