MCPcopy Index your code
hub / github.com/clips/pattern / subtract

Function subtract

pattern/canvas.js:3298–3300  ·  view source on GitHub ↗
(img1, img2, dx, dy, alpha)

Source from the content-addressed store, hash-verified

3296 return blend(ADD, img1, img2, dx, dy, alpha);
3297}
3298function subtract(img1, img2, dx, dy, alpha) {
3299 return blend(SUBTRACT, img1, img2, dx, dy, alpha);
3300}
3301function lighten(img1, img2, dx, dy, alpha) {
3302 return blend(LIGHTEN, img1, img2, dx, dy, alpha);
3303}

Callers

nothing calls this directly

Calls 1

blendFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…