Fixed bg lines positions
This commit is contained in:
parent
c1484655cd
commit
81338b6203
4
bg.lua
4
bg.lua
|
@ -6,7 +6,7 @@ function draw_animated_bg(startx)
|
|||
local color = 1
|
||||
-- vertical lines
|
||||
local t = t()+10
|
||||
for i=startx-1,127,11 do
|
||||
for i=startx-1,127,9 do
|
||||
local a=sin(i*t/512)*amplitude+64
|
||||
local b=cos(i*t/256)*amplitude+64
|
||||
line(
|
||||
|
@ -18,7 +18,7 @@ function draw_animated_bg(startx)
|
|||
end
|
||||
|
||||
-- horizontal lines
|
||||
for i=startx-1,127,11 do
|
||||
for i=startx-1,127,9 do
|
||||
local a=sin(i*t/512)*amplitude+64
|
||||
local b=cos(i*t/256)*amplitude+64
|
||||
line(
|
||||
|
|
Loading…
Reference in New Issue
Block a user