Skip to content

Documentation / spryte / Filter

Interface: Filter ​

Defined in: filters.ts:66

A ready-made effect for filter(draw, filters, fn). Make them with blur(), colorMatrix(), grayscale() and friends; they're plain values, cheap to create every frame.