lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Code rewritten for Codea (Thanks, Duncan!)

local bgcolor = color(255, 255, 255) -- White background color

-- Other local variables (avoid globals in setup())

function draw()
    background(bgcolor) -- Clear the screen

I have to agree with Duncan that most people on this list probably can't help you with extern libraries like Codea, but also remember that the most important skill for a programmer is to be able to use Google :)

Most of the functions you need can probably be found here:

- Jonne