Pulse Circle
function setup()
size(256, 256)
end
function draw()
background(12, 12, 18)
local r = 40 + math.sin(frameCount * 0.05) * 20
fill(255, 120, 80)
circle(width / 2, height / 2, r * 2)
end
L5 example snippets
Starter Lua examples for the upcoming runtime.
Parameters are not fully documented yet.
Not specified.
No additional runtime notes yet.
Use these as starter snippets. Runtime wiring exists; API coverage is still partial.
function setup()
size(256, 256)
end
function draw()
background(12, 12, 18)
local r = 40 + math.sin(frameCount * 0.05) * 20
fill(255, 120, 80)
circle(width / 2, height / 2, r * 2)
end
function setup()
background(255)
end
function draw()
if mouseIsPressed then
fill(30, 30, 30)
circle(mouseX, mouseY, 10)
end
end