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

Function add

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

Source from the content-addressed store, hash-verified

3293}
3294
3295function add(img1, img2, dx, dy, alpha) {
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}

Callers

nothing calls this directly

Calls 1

blendFunction · 0.85

Tested by

no test coverage detected