Home

Awesome

<h1 align="center">Blue Noise</h1> <div align="center"> <strong> Black and white image dithering using blue noise written in Rust </strong> </div> <br /> <div align="center"> <!-- Crates version --> <a href="https://crates.io/crates/blue-noise"> <img src="https://img.shields.io/crates/v/blue-noise.svg?style=flat-square" alt="Crates.io version" /> </a> <!-- Downloads --> <a href="https://crates.io/crates/blue-noise"> <img src="https://img.shields.io/crates/d/blue-noise.svg?style=flat-square" alt="Download" /> </a> <!-- docs.rs docs --> <a href="https://docs.rs/blue-noise"> <img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square" alt="docs.rs docs" /> </a> </div> <div align="center"> <h3> <a href="https://docs.rs/blue-noise"> API Docs </a> <span> | </span> <a href="https://github.com/mblode/blue-noise/blob/main/CONTRIBUTING.md"> Contributing </a> <span> | </span> <a href="https://github.com/mblode/blue-noise"> Repo </a> </h3> </div>

Black and white image dithering using blue noise written in Rust.

Example

Input dark Output dark


Input light Output light

Inspiration

https://surma.dev/things/ditherpunk/

https://forums.tigsource.com/index.php?topic=40832.msg1363742#msg1363742

Install

Work in progress...