DashedLine every second
in
Programming Questions
•
2 years ago
Hello to all again, and sorry for new topic I can't find old one.
I searched for dashed lines but they are 3d or with java, and I'm pretty new in programming at all to understand that. I also tried lerp, but useless.
My problem is, I'm creating a shooting programm and I need to create a dashed line aim.
The code of the aim is more them simple
void setup()
- {size(600,600);
- }
- void draw(){
- }
- void mouseMoved()
- { background(255);
- line(width/2,height,mouseX,mouseY);
- }
Thank you!
1
