It was the week when I used loops and modulo operator.
“For loop” allowed the code get shorter and crisper allowing code to run in a fewer lines where if it forloop didn’t exist it will be impossible to write the number of lines and also the processing will be slow. Nested Forloops allow x Ann y to be called at the same time. for eg for(x=0,x<10,x=x=1);{
for(y=0;y<10;y=y+1);
in the this when x=0 is called it will iterate from y[0-10].
the modulo operator allows to call out a particular portion on the canvas to which you can do things like colouring or adding text and many more.
For eg while making the sketch board it was easy to colour a specific box into black or white by using the modulo operator.
https://editor.p5js.org/ShauryaSeth/sketches/WTlLhixrd