Created
May 18, 2013 09:49
-
-
Save dermotbalson/5603895 to your computer and use it in GitHub Desktop.
post1
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
-- qwerty | |
-- Use this function to perform your initial setup | |
function setup() | |
print("Hello World!") | |
print(WIDTH,HEIGHT) | |
x=0 | |
end | |
-- This function gets called once every frame | |
function draw() | |
-- This sets a dark background color | |
background(40, 40, 50) | |
-- This sets the line thickness | |
strokeWidth(5) | |
-- Do your drawing here | |
line(x,10,400,250) | |
x=x+1 | |
if x>WIDTH then x=0 end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment