Skip to content

Commit 0ff152a

Browse files
committed
update L5-starter to show a bit more for beginners, yippee!
1 parent 92d5e93 commit 0ff152a

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

L5-starter.zip

25.8 KB
Binary file not shown.

L5-starter/main.lua

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@ require("L5")
22

33
function setup()
44
size(400, 400)
5+
6+
-- Set the program title
7+
windowTitle("Basic sketch")
8+
9+
describe('Draws a yellow background')
510
end
611

712
function draw()
8-
background(220)
13+
-- Fills the background with the color yellow
14+
background(255, 215, 0)
915
end
16+

0 commit comments

Comments
 (0)