Scrawl-canvas v8 - Filters test 027

Parameters for: reducePalette filter

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

Predefined palette
String of colors
Commonest colors
Min color distance
Use LAB for palette distance
Random seed
Use bluenoise
Memoize filter

Test purpose

Note that this is a resource-intensive filter. Memoization is strongly advised!

Known issue: Filter memoization will, sometimes, kill Safari-based browsers for as-yet-unknown reasons - see demo Filters-001 for details. For now, if Scrawl-canvas detects that the user is viewing the canvas in a Safari-based browser, it will ignore requests to memoize filters.

Touch test: not required

Annotated code