3 ms·
Wolfenstein 3D's FizzleFade uses an LFSR to visit each screen pixel exactly once in a pseudorandom order: http://fabiensanglard.net/fizzlefade/index.php http://
by panic 7y ago
Wolfenstein 3D's FizzleFade uses an LFSR to visit each screen pixel exactly once in a pseudorandom order: http://fabiensanglard.net/fizzlefade/index.php http://fabiensanglard.net/fizzlefade/index.php
There's an alternative FizzleFade implementation using Feistel networks: http://antirez.com/news/113 http://antirez.com/news/113 -- I think the same technique could be used here to randomly permute the index space.