Presumably this question is related to your other post. The same answer applies: post the code used to generate the non-dashed line as a starting point. In principle it's just a matter of turning stroke on and off as you draw the line...
Also search the forum: this sort of question has definitely been asked before for Processing and the implementation will be similar in p5js...
Answers
Presumably this question is related to your other post. The same answer applies: post the code used to generate the non-dashed line as a starting point. In principle it's just a matter of turning stroke on and off as you draw the line...
Also search the forum: this sort of question has definitely been asked before for Processing and the implementation will be similar in p5js...