I want to generate a dashed curve in PixiJs and need a little help.
My first attempt was to use the 'bezierCurve' function, but a dashed curve in combination with this seems impossible.
So I created a loop with many straight lines to create the dashed optic and it works for a straight line.
But how to get a curve with this attempt?
I think you can add some x and y value in the process, then remove it, but all my tries looking horrible.
Probably is a mathematic approach the right direction.
Please help. I spend two days to this and get no good result.