More art!

by Naneau

Well… Okay, its not more, it’s just better. I updated it. Which is what I do. I wrote the original script when I couldn’t sleep a few nights ago. Coding in a sleep-deprived state always gives me interesting results, although they may not always be that useful ;) .

Today I took some time and had another look at the script. Because I sometimes think there should be some kind of meaning behind things I do, I made the number of divs the JavaScript uses to (re-)draw a picture variable. This means I can now check what the limit of it is, and guess what the bottleneck might be.

It appears that 10,000 divs is a bit too much for my system. It freezes up Firefox quite nicely. As pretty much all the work is now done by JavaScript, it does seems that 10.000 DOM elements is a bit too much for it to handle. Interesting!