Created
June 10, 2017 10:19
-
-
Save leanda/1403f2306b339ef850b7ef95bfb1fdd8 to your computer and use it in GitHub Desktop.
Vanishing Point p5
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
function setup() { | |
createCanvas(windowWidth, windowHeight); | |
noFill(); | |
} | |
function draw() { | |
background(255); | |
for (var x = 50; x <= width-50; x += 50) { | |
for (var y = 50; y <= height-50; y += 50) { | |
line(x, y, width/2, height/2); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment