Skip to main content

mask, (a,b) => (a AND b)

Applies binary math to two drafts. To do so, it looks at each interlacement in input drafts a and b If a is marked warp raised and b marked warp raised, it sets the corresponding interlacement in the output draft to warp raised. Otherwise, the interlacement is marked warp lowered. This effectively masks draft a with draft b

file

Parameters

  • shift ends: shifts the position of the ends in draft b relative to a
  • shift pics: shifts the position of the pics in draft b relative to b

Application

No established application, but a fun way to see how to apply binary math to the production of drafts. Retains input draft b in regions where input draft a has raised warp ends (black cells); draft b is only retained within the area of draft a.

Developer

adacad id: mask