1. svn mv OverLua SSATool athenasub avisynth_prs kanamemo \ motiontracker prs traydict unit_test vsfilter devel/ * See r2749 for full description. Originally committed to SVN as r2755.
15 lines
254 B
Lua
15 lines
254 B
Lua
function render_frame(f, t)
|
|
local w, h = f.width, f.height
|
|
for x = 0, 20 do
|
|
for y = 0, 20 do
|
|
f[y*w+x] = {x*10,y*10,255}
|
|
end
|
|
end
|
|
for x = 21, 40 do
|
|
for y = 0, h-1 do
|
|
local r, g, b = f(x,y)
|
|
f[y*w+x] = {255-r, 255-g, 255-b}
|
|
end
|
|
end
|
|
end
|