Last active
January 5, 2016 10:49
-
-
Save jacopocolo/4f0dc9062a7668a4845a 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
setup() { | |
createCanvas(500,500) //let’s create a 500x500 pixels artboard to draw in | |
} | |
draw() { | |
line(0,0,100,100) //let’s draw a line that starts from 0,0 and ends in 100,100 | |
line(100,100,0,0) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment