Experimental program to test bitmap rotation by dividing square to four squares and moving those blocks clockwise. This is repeated recursively to these divided squares and so on... until size of square is one pixel!
Nice demo effect! This could be implemented with animation (both square moves and background picture animated)!
bm_rotate-full.tgz (183k) source, sample bitmap and linux executable.
bm_rotate-source.tgz (1.9k) source.
You also will need SDL-1.2 library
(development environment for compiling, runtime environment for execution).
After first divide and move
After second divide and move
Someone would say that it is rotated (but it is drawn as mosaic!)
Bitmap is rotated 90 degrees
markku (dot) t (dot) korsumaki (at) mbnet (dot) fi
Back to home (code::web)