flâneur

meezwhite/p5.grain: Conveniently add film grain, seamless texture overlays, and manipulate pixels to achieve nostalgic and artistic effects in p5.js sketches and artworks.

github.com · 3,021 words · saved by 1 readers

Conveniently add film grain, seamless texture overlays, and manipulate pixels to achieve nostalgic and artistic effects in p5.js sketches and artworks. There was an error while loading. Please reload this page. p5.grain is a p5.js addon for conveniently applying grain and texture overlays to artworks. p5.grain was also created with fxhash projects in mind that use the deterministic fxrand random function. You can read more in detail about the different techniques to achieve grain in artworks in the article "All about that grain" by Gorilla Sun and meezwhite. Download the latest version from Releases and embed p5.grain.js (~42 KB) or p5.grain.min.js (~6 KB) in your project's HTML file after loading p5.js but before loading your sketch code. Note: The unminified version p5.grain.js is primarily meant for development; it handles errors and warnings. However, we recommend using the minified version p5.grain.min.js when your sketch is final and you've made sure that p5.grain-related errors

p5.grain is a p5.js library for conveniently applying film grain, seamless texture overlays, and manipulate pixels to achieve nostalgic and artistic effects in p5.js sketches and artworks. Ideal for deterministic generative artworks, p5.grain ensures consistent film grain effects with each reload. It's perfect for platforms like fxhash, where generative artworks should use a deterministic approach to randomness. The initial release of the library was accompanied by the article "All About That Grain" co-authored by Gorilla Sun and Joseph Miclaus. Since then, p5.grain has been regularly…

saved by

related reading