lua-users home
lua-l archive

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

Thank you both very much!

Technology Integrator
Oceanside High School (East & West)
Owls Head Central School
Gilford Butler School

From: <<>> on behalf of Jonne Ransijn <<>>
Reply-To: Lua mailing list <<>>
Date: Friday, May 20, 2016 at 9:27 AM
To: Lua mailing list <<>>
Subject: Re: Novice Question

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