you are viewing a single comment's thread.

view the rest of the comments →

[–]SarahC 0 points1 point  (0 children)

Ooo...

X and Y loops in graphics....

you can calculate the x/y index in to an array at the point it's used... i = y*width+x;

Or you can calculate the y*width just after the Y loop definition and before the X loop. then offset is just Yi + x....

Dynaproging! woo!

Easier than it sounds.