The source code to Chromatron was made available on the game's forum at one point. Here's a copy I saved:

https://gist.github.com/duskwuff/513e2b4f38b3db2e060c8611ebf...

A couple of helper functions are missing, but nothing terribly important.

I wasn't aware it existed - and thanks for saving!

And wow, this code is beautiful.