[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Novice Question
- From: Esther McKay <emckay@...>
- Date: Fri, 20 May 2016 14:57:47 +0000
Thank you both very much!
---
Technology Integrator
Oceanside High School (East & West)
Owls Head Central School
Gilford Butler School
[email protected]
From: <[email protected]<mailto:[email protected]>> on behalf of Jonne Ransijn <[email protected]<mailto:[email protected]>>
Reply-To: Lua mailing list <[email protected]<mailto:[email protected]>>
Date: Friday, May 20, 2016 at 9:27 AM
To: Lua mailing list <[email protected]<mailto:[email protected]>>
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
...
end
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: http://twolivesleft.com/Codea/Reference/
- Jonne