Translating Syntax Shorthand for Beginners?

The way you did the shorthand here actually doesn’t appear confusing at all. It looks even cleaner.

1 Like

Same version with semicolons and single line:

n=25;setup=_=>{createCanvas(w=500,w);x=y=0;while(y<w){r=int(random(2))*n;line(x+r,y,x+n-r,y+n);x+=n;if(x>w){y+=n;x=0}}}

Same character count!

Enjoying the topic and your @noel posts here.

:)

1 Like