← Previous Next →

Scrawl-canvas v8 - Filters test 102

Filter blend operation

To change image, drag-and-drop an image file over the canvas

Line IN
Line MIX
Blend operation
Opacity
Offset - X
Offset - Y
Screen capture image of the demo canvas

To note: Javascript is not running in this browser environment. The canvas element is ignored; instead a placeholder image displays where the canvas would have appeared.

Test purpose

Note that filter memoization would provide no benefit in this demo because of the way we include the (rotating) cell-based wheel image filter in the display block filters array, even though that filter will only be displayed (as part of the compositing filter) if selected. Moral: only load process-image filters into a filter array if you intend to use them!

Touch test: not required

Annotated code