Routine for making a sprite dissolve?

BlitzPlus Forums/BlitzPlus Programming/Routine for making a sprite dissolve?

Thanks for the replies guys, they're certainly much appreciated! I'll have to think about the prime number thing to get it sorted in my head...
Considering that it's a remake of an old platformer (Henry's House) and there's not exactly heaps of graphics going on, I think the overhead of doing randomness will be worth it (especially when I want to map it to the correct animation frame for the character. Using image animation for disolves would mean X (number of animation frames) * Y (Number of disolve frames) images which means lots of frames for even a small sprite!)

The other way I had suggested was to have each pixel as a type (X,Y,Color), put the types in an array, shuffle the array, then blank out the pixels going through the array. I'm not sure which will give the best result in speed or performance but I'll give them all a go.

Again, thanks all very much for taking the time to respond!
Shane
(Look out for the game this relates to - Henry's House - coming to Retro Remakes sometime in the next month hopefully!)