Skip to main content

4 docs tagged with "compute"

View All Tags

cut, (a, b) => (a NAND b)

Applies binary math to two drafts. To do so, it looks at each interlacement in input drafts a and b. If a and b are both marked as having warped raised, it changes the value to warp lowered, effectively cutting the black cells in b from a. This is the opposite of mask

diff, (a, b) => (a NEQ b)

Applies binary math to two drafts. To do so, it looks at each interlacement in input drafts a and b and it returns a black cell in any location where the two draft cells were different

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

overlay, (a,b) => (a OR b)

Applies binary math to two drafts. To do so, it looks at each interlacement in input drafts a and b. If either interlacement a or b are marked as warp lifted, the resulting draft will have a warp raised in that location.