-- Art
-- Use this function to perform your initial setup
function setup()
print("Hello World!")
end
-- This function gets called once every frame
function draw()
-- This sets a dark background color
background(0, 85, 255, 255)
-- This sets the line thickness
strokeWidth(5)
-- Do your drawing here
ellipse(WIDTH/2, HEIGHT/2, 100)
-- This sets the outline color
stroke(26, 236, 239, 255)
-- This sets the ellipse color
fill(4, 237, 241, 255)
end
This is the final result for a drawing tutorial I did on Bitbucket.org after clicking the button on the lower right side of the Codea main menu. Is it possible to move the circle around by touching it? I clicked the eye symbol on the keyboard that led me to the sound, touch, shaders, etc list. If I can move the circle, do I use some of the suggested lines of code for Touch, all of them, or something else?