Draw path with pressure in HTML canvas
I have many points [x,y,pressure]
and I want to draw a complex path with supporting pen’s pressure. The way I currently implement is to split the path into many pieces with different lineWidth
and combine them together. It’s working fine but if the strokes have opacity, the final path will become weird at the junctions of two pieces because they are translucent and overlap.