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

Function lighten

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

Source from the content-addressed store, hash-verified

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}
3304function darken(img1, img2, dx, dy, alpha) {
3305 return blend(DARKEN, img1, img2, dx, dy, alpha);
3306}

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…