Now much more screensaver-y!
by luchak
After seeing some of the other Game of Life posts today, I thought I'd take a shot at the problem. This implementation runs at 480x270 / 60fps using a little over 50% 30% CPU (on 0.1.1d). Userdata ops are used to compute neighbor counts, and I initially tried using userdata ops to apply the changes to the grid as well - but that was just a little too slow (~90% CPU, so Picotron wouldn't run it full speed). This version uses color tables to apply the updates instead, which is much faster.
Color tables seem incredibly powerful. I'm curious to see what else people do with them.
Changelog
- 0.2 - now the clock moves
[Please log in to post a comment]