strokeWeight()
Changes thickness of lines
Example

strokeWeight(5)
circle(width/2,height/2,200)
line(50,50,350,50)
Syntax
Input
Description
Default
w
The thickness of any lines or borders
1
Last updated
Changes thickness of lines

strokeWeight(5)
circle(width/2,height/2,200)
line(50,50,350,50)
w
The thickness of any lines or borders
1
Last updated
strokeWeight(25)
circle(width/2,height/2,200)
line(50,50,350,50)strokeWeight(w)