Ordered dithering

Drop a ripple anywhereBayer 4×4

on = v > BAYER[(y & 3) × 4 + (x & 3)]