What are the different methods of creating a "soft brush"
effect when drawing on an HTML5 canvas? Speed and efficiency is important so if anyone has any benchmarks on the different methods, that would be awesome.
To elaborate on what I mean by a "soft brush"
, I mean a brush that has essentially a radial alpha transparency on it so that the edges are more transparent than the center.
I've heard several methods, including painting to a memory canvas and applying a blur
. However, I can't imagine that this approach is very efficient.
Thanks