Is it possible at all to write a filter plugin that gets applied in real-time, as the user draws on a layer?
I'm thinking of something similar to layer styles (such as drop shadow) that get applied immediately while the user is drawing on a canvas. As far as I can see there is no API to add new filter styles, but maybe there is a workaround to achieve a similar behavior using filters?
I want to create a simple mirror filter/style that mirrors the right-hand side of a layer onto the left-hand side as the user draws on a layer, because this would be very useful for sketching symmetric structures.
Or could this be achieved by using multiple layers? E.g. Layer 2 sitting on top of Layer 1, where the right half of Layer 2 is fully transparent and the left half of Layer 2 contains a mirrored version of Layer 1? But then how could one continuously update Layer 2 while the user is drawing on Layer 1?
Any help appreciated!