Lua: finished inputbox with negative and decimal inputs. Added to the repository more than 20(!) new scripts by DawnBringer
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1357 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
10
scripts/pic_ni_Colorspace18bit.lua
Normal file
10
scripts/pic_ni_Colorspace18bit.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
-- 18bit colour space from palette
|
||||
--
|
||||
w,h=getpicturesize();
|
||||
for y1=0,7,1 do
|
||||
for x1=0,7,1 do
|
||||
for y2=0,63,1 do
|
||||
for x2=0,63,1 do
|
||||
putpicturepixel(x1*64+x2,y1*64+y2,matchcolor((y2*255)/64,
|
||||
((y1*8+x1)*255)/64,(x2*255)/64))
|
||||
end;end;end;end
|
||||
Reference in New Issue
Block a user