I’m currently drawing arcs with the canvas tag and I’ve been asked if I can feather (soften) the edges of the arcs. Is this possible? Googling and searching on here it seems like more hassle than it’s worth.
I’ve tried looking on mdn too but resources for feathering an element seem sparse.
From the image you link to in your comment, it seems you’re trying to do a shadow.
If this is the case, you can do this :
With this code :
Demonstration
Or maybe you’re trying to do this :
Demonstration