I am a beginner in the world of programming and so far I have only seen how to draw basic shapes and apply color to them. I am studying a programming subject at the university, in a university degree in design and this field is very tedious for me.
I need help with the for command. I have read chapter 4 of ‘Getting started with p5js’ but I still don’t understand how this command works.
what parameter of the command does each number refer to?
(extract from chapter 4 of ‘Getting started with p5js’
How could I draw 100 vertical lines that would occupy half the canvas of a canvas that measured 1000,500 with a for command? And with another for command, the rest of the canvas with 100 more vertical lines? Thats for my university homework
Sorry for such a long question