Well that commented line i forgot to remove before copying because I could not find a way to implement it. But when I ran a for loop it didn't give many correct color changes...
This code:
drawPixel(i, ii, 0, 255, 255, gfxGetFramebuffer(GFX_TOP,GFX_LEFT,0,0));
and
drawPixel(i, ii, 255...