4 ms·
do you have the source code of this? I had an awesome idea a long time ago that is almost the same as that, but I was a CS noob and tried it in Java... can yo
by guidopallemans 12y ago
do you have the source code of this?
I had an awesome idea a long time ago that is almost the same as that, but I was a CS noob and tried it in Java...
can you throw that on Github with a license?
- DougHaber 12y agoSure. This was based on a life program I wrote in JavaScript a long time ago that used DIVs, because canvas didn't yet exist at the time. The color version was made a few years later by taking the nLife code, switching it to use canvas, and adding the color rules. I just tarred it all up and left in the nLife license, which I think is BSD w/ advertising clause. You can find the source here: http://www.node99.net/content/nlife/nlife-canvas-color.tgz http://www.node99.net/content/nlife/nlife-canvas-color.tgz I'm fairly certain from watching it that there is a bug in the selection of the most dominant color, since sometimes a color that died off manages to come back. Anyway, if you make it do anything interesting, please share. I'd definitely like to see.
- guidopallemans 12y agocheers!