Saw some unexpected behavior today with pset(x,y,c) when c negative and fractional.
cls(6) for i=0,127 do for j=0,127 do pset(i,j,(i-16)/32) end end |
If I add a floor command, then the funny stippling goes away. e.g. pset(i,j,flr((i-16)/32))
3
Gonna answer my own bug—I think I have the pattern fill flag on and some values have the correct bit set to draw with pattern when fractional—so probably not a bug.
[Please log in to post a comment]