flâneur — a map of the web's best reading

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,361 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

Explore this link on the map →

saved by

related reading