Skip to content

Instantly share code, notes, and snippets.

@simsaens
Created January 4, 2018 03:44
Show Gist options
  • Save simsaens/6489d305a2cfa229e2aaa4fc5a43306c to your computer and use it in GitHub Desktop.
Save simsaens/6489d305a2cfa229e2aaa4fc5a43306c to your computer and use it in GitHub Desktop.
Hello <Your Name Here> Codea Example
-- Use this function to perform your initial setup
function setup()
parameter.text("name", "Tiff")
end
-- This function gets called once every frame
function draw()
-- This sets a dark background color
background(40, 40, 50)
-- Do your drawing here
text("Hello " .. name, WIDTH/2, HEIGHT/2)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment