Created
September 3, 2021 23:52
-
-
Save zamfi/a1d6ee5559a76e82670c0c0c2f3ea0ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (var x = 10; x < width; x += 20) { | |
if (x < width/2) { | |
line(x, 10, x, height/2); | |
} else { | |
line(x, height-10, x, height/2); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment