and i had to inprovise gradient's
the amiga had 16 shades
it can be useful if you have a screen whit les bitdepth
or if you think you need more than 255 shades
Code: Select all
screen 20 , 32
dim as integer winx , winy
screeninfo winx , winy
dim as double x , y
for x = 0 to winx
for y = 0 to winy
if rnd + x / winx > 1 then
pset ( x , y ) , &hffffff
end if
next y
next x
sleep