How it works
Smooth tone becomes dots of ink on a fixed grid: there's no grey, only ink or paper.
The second ink sits on a grid offset by half a cell, so where the two shapes meet their dots weave rather than cover, and where both land they darken.
// two inks on offset Bayer grids, so their dots weave into each other's gaps
const on1 = tone1 > B8[y & 7][x & 7];
const on2 = tone2 > B8[(y + 4) & 7][(x + 4) & 7];
const colour = on1 && on2 ? both : on1 ? ink1 : on2 ? ink2 : paper;