Thursday 3 December 2020

Apply effects/filters to more than just image objects in FabricJS

I've been using FabricJS for a while now for my interactive comic builder and for the most part, it's been great. A limitation however is that - to date - I haven't been able to find any way to make objects that aren't images apply effects.

For instance, this guide shows how to render effects over an image object but let's say for example, I wanted to apply the effect to shapes like rectangles and circles drawn with Fabric or text objects. Is there a way to do this already?

I'm not too interested in presets such as sepia or vintage etc, I really only need the ability to blur, lighten/darken and saturate/unsaturate.



from Apply effects/filters to more than just image objects in FabricJS

No comments:

Post a Comment