Ballz, a example of alert pasteboard, text and ellipse
-- Examples of: alert, pasteboard, text and ellipse
-- by codea forum user kirorp
displayMode(FULLSCREEN)
supportedOrientations(LANDSCAPE_ANY)
function setup()
print("hello")
alert("message", "title of alert")
pasteboard.copy("kirorp was here")
end
function draw()
background(0, 0, 0, 255)
-- title
fill(255, 255, 255, 255)
fontSize(100)
text("ellipse", "500", "400")
-- middle
fill(17, 255, 0, 255)
ball1 = ellipse("200", "400", "100", "100")
ball2 = ellipse("800", "400", "100", "100")
-- bottom
fill(0, 82, 255, 255)
ball3 = ellipse("400", "200", "100", "100")
ball4 = ellipse("600", "200", "100", "100")
fill(255, 27, 0, 255)
-- top
ball5 = ellipse("400", "600", "100", "100")
ball6 = ellipse("600", "600", "100", "100")
end