Having recent rediscovered some old projects, I thought I'd share this little
graphics demo, written in AMOS Pro.
It demonstrates fading out a HAM image to black, done using the blitter
(via the Screen Copy command's blitter mode parameter).
The algorithm's similar to the classic "shadebobs" effect, only with an extra
pass to "clamp" pixel values and stop them wrapping around.
Compiled binary and full source code is included.
|