chris:Yup thats exactly how its done, chris. Its even faster if you keep the arraysize to powers of two you can then use "u = (x-1) and 255" if the array is 256 wide, this makes the if statements redundant and its a bit faster.
nino: Glad you like it bro

Thanks guys