Last active
December 18, 2016 17:14
-
-
Save Lellahahaha/a045189abd2d59ed65cd2f3ec4060f16 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| function setup() { | |
| createCanvas(400,400); | |
| background(0); | |
| } | |
| function draw() { | |
| var a = 0; | |
| var b = 150; | |
| noStroke(); | |
| fill(255); | |
| rect(a,a,b,b); | |
| rect(b+100,a,b,b); | |
| rect(a,b+100,b,b); | |
| rect(b+100,b+100,b,b); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment