Display one color after the other

This commit is contained in:
ollo
2019-05-22 21:25:33 +02:00
parent 7bc6ec1fbe
commit 91c0a15212
3 changed files with 41 additions and 18 deletions

View File

@@ -1,13 +1,12 @@
green=0
green2=128
green2=200
red=128
blue=0
blue=200
color=string.char(0, 0, 128)
color1=string.char(128, 0, 0)
color2=string.char(tonumber(green2*0.8), 0, 0)
color3=string.char(tonumber(green2*0.4), 0, 0)
color4=string.char(tonumber(green2*0.2), 0, 0)
color=string.char(0, 0, blue)
color1=string.char(red, 0, 0)
color2=string.char(tonumber(red*0.8), 0, 0)
color3=string.char(0, tonumber(green2*0.4), 0)
color4=string.char(0,0 ,tonumber(blue*0.2))
colorBg=string.char(0,0,0) -- black is the default background color
sntpserverhostname="ptbtime1.ptb.de"