Skip to content

Comment on Evolution of Mona Lisa in JavaScript & Canvasparent

Comments

bdOP

I envy you :).

You may try to run it on different images, I just added new experimental feature: you can set your own target image.

This does crash JavaScript sometimes on some images (for unknown reasons). If this happens, just reload the page.

I was trying to do that by saving locally, but FireFox refuses to allow getImageData on an image loaded from the filesystem by a web page loaded from the filesystem, with an NS_ERROR_DOM_SECURITY_ERR

Anyway, I will now try with your set-your-own-image version.

bdOP

You can run it locally if it is on your local webserver (http://localhost) instead of just filesystem (file://).

That's how I work on it (XAMPP).

http://en.wikipedia.org/wiki/Xampp

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.