Last active
August 29, 2015 14:06
-
-
Save aurelianonava/ef29877ca5759342175f to your computer and use it in GitHub Desktop.
Processing.js Basics
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
// draw a line from (100, 50) to (300, 175); | |
size(400, 400); | |
line(100, 50, 300, 175); | |
// draw a thicker, green line from (350, 200) to (100, 310); | |
stroke(0, 173, 0); | |
strokeWeight(4); | |
line(350, 200, 100, 310); | |
//http://www.khanacademy.org/cs/linex1-y1-x2-y2/827916099 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment