How lovely, Paniq ! We were experimenting with this sometime ago. Here is what I came up with, my 1st attempt at 256-colors:
https://www.lexaloffle.com/bbs/?tid=31737
p01 had the genius idea to dither it, much like you are doing here:
With small coding indeed !
p=0 cls() function _update60() p=1-p fillp(23130) if(p>0)fillp(-23131) for i=0,15 do for j=0,15 do rectfill(i*8,j*8,i*8+7,j*8+7,i+j*16) end end end |
CableDragon then took the idea and did this one:
Use LEFT and RIGHT arrow keys to change dither technique.
Your method shows a beautiful rainbow though, something none of us did.
cool! nice visualization technique and i like how small the code is. i've already been thinking about encoding a hi-color picture this way but that involves considerable off-line work. maybe when i have more time.
[Please log in to post a comment]