Diagonal line loop - Beginners - Processing Community Forum The reason it looks jaggy is that the lines are drawn over and over again, and the subtle antialias gray colors that should be there to make it look nice quickly become black, destroying the antialiasing effect
Points and Lines Examples Processing. org Points and lines can be used to draw basic geometry Change the value of the variable 'd' to scale the form The four variables set the positions based on the value of 'd'
Draw a square line by line - Processing Foundation I am trying to draw a square one line at a time, with a keypress In other words, press “1” to draw a line, turn 90 degrees, press “1” to draw a line, turn 90 degrees, etc
strokeCap () Reference Processing. org Sets the style for rendering line endings These ends are either squared, extended, or rounded, each of which specified with the corresponding parameters: SQUARE, PROJECT, and ROUND
Continuous Lines Examples Processing. org This example is for Processing 4+ If you have a previous version, use the examples included with your software If you see any errors or have suggestions, please let us know
Lines intersecting a square. . . . . . . . . - Processing Forum This method returns the coordinates of the intersection of 2 lines Test the line you want to draw against EACH side of the square and if the length of the array returned is 2 then use the intersection co-ordinates as the line end