public marks

PUBLIC MARKS from sylvainulg with tags graphics & coding

17 September 2012 13:15

Bresenham

(via)
for(;;){ /* loop */ setPixel(x0,y0); if (x0==x1 AND y0==y1) break; e2 = 2*err; if (e2 >= dy) { err += dy; x0 += sx; } /* e_xy+e_x > 0 */ if (e2 <= dx) { err += dx; y0 += sy; } /* e_xy+e_y < 0 */ }

sylvainulg's TAGS related to tag graphics

alpha-blending +   animation +   blog +   coding +   documentation +   epub-me +   homebrew +   howto +   library +   linux +   news +   nintendods +   painting +   perl +   pixel art +   png +   processing +   programming +   prototype +   readme +   sprites +   starred +   tutorial +   web +   wiki +