Scrawl-canvas v8
- Filters test 028
Stencil (background) filter functionality
To change image, drag-and-drop an image file over the canvas
Select filter
none
--Method filters--
alphaToChannels
areaAlpha
blue
blur (legacy)
brightness
channels
channelLevels
channelstep
channelsToAlpha
chroma
chromakey
clampChannels
corrode
curveWeights
cyan
edge detect
emboss
flood
gaussianBlur
glitch
gray
grayscale
green
invert
magenta
mapToGradient
matrix
matrix5
newsprint
notblue
notgreen
notred
offset
offsetChannels
pixelate
randomNoise
red
reducePalette
saturation
sepia
sharpen
swirl
threshold
tiles
tint
yellow
--Compound filters--
blend (with image)
compose (with image)
displace (with noise asset)
Drop Shadow
Red Borders
Entity
Block
Cog
Cat
Composite
source-over
source-in
source-out
source-atop
destination-over
destination-in
destination-out
destination-atop
copy
xor
difference
exclusion
multiply
screen
overlay
lighter
lighten
darken
hard-light
soft-light
color-dodge
color-burn
hue
saturation
color
luminosity
Alpha
Test purpose
Create a test Picture entity
Create a Cog entity
Create a variety of filters to apply to the Cog entity, using it as a stencil so the area behind the wheel displays with the filter applied to it
Touch test:
not required
Annotated code