Examples Dithered Gradient (p5.strands)

Dithered Gradient (p5.strands)

This demonstrates a radial gradient based on two points, but where it picks one color or the other without mixing between them. It runs in a full-screen filter shader.

Creative Commons BY-NC-SA license badge

Dithered Gradient (p5.strands): Created by Dave Pagurek. From 2026 onwards, edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.

You can find the code history of these examples here: Code. You can suggest improvements by contributing to the current website!