We are about to switch to a new forum software. Until then we have removed the registration on this forum.
size(500, 500, P3D);
strokeWeight(5);
line(100, 100, 400, 400);
I want to draw a line with a width of 5. However, after calling strokeWeight() while P3D is true, the width of the line is still 1. Why doesn't the code show a line with a width of 5?
Answers
if you are not using 3D objects, use the default renderer or P2D.
-Does this help?