A silly online toy
Jun. 5th, 2008 06:21 pmOne of the things I've been doing with my random free time when Shanna's quiet is to build my l33t Javascript skills. While it's nothing special, I've built this simple webtoy, which lets you select how the little face feels from the list of emotions. Check the boxes for the ones you want, pick how much of each (or leave it as-is), and you should get the silly face doing things. If what you see is too subtle, make the number bigger.
I've tested it in FireFox and Safari. I have *not* tested it in Internet Explorer, but I had it use a couple of libraries that *should* make what I'm doing all compatible-like... So if you use IE and you don't immediately see a little face, let me know that it doesn't work in IE :-)
[Edit: it appears that it does not work on IE. Thanks,
lovmelovmycats!]
I've tested it in FireFox and Safari. I have *not* tested it in Internet Explorer, but I had it use a couple of libraries that *should* make what I'm doing all compatible-like... So if you use IE and you don't immediately see a little face, let me know that it doesn't work in IE :-)
[Edit: it appears that it does not work on IE. Thanks,
no subject
Date: 2008-06-06 01:56 am (UTC)no subject
Date: 2008-06-06 01:57 am (UTC)no subject
Date: 2008-06-06 02:00 am (UTC)no subject
Date: 2008-06-06 02:02 am (UTC)Also; a lot changed between 6 and 7, so it might work for one and not the other
no subject
Date: 2008-06-06 02:05 am (UTC)So the most obvious problem would be Canvas support. There are other incompatible things I'm doing, but I'm doing most of them through the Prototype library for exactly that reason...
no subject
Date: 2008-06-06 02:05 am (UTC)no subject
Date: 2008-06-06 02:07 am (UTC)no subject
Date: 2008-06-06 02:35 am (UTC)no subject
Date: 2008-06-06 06:28 am (UTC)no subject
Date: 2008-06-06 02:56 pm (UTC)I actually used/stole some good research about facial shape and changes for emotions as the data for this. So the underlying assumptions *should* look pretty good, it's just the conversion to a little 2D smiley-face that I did in a dodgy way on my own :-)
If you want to see the full-on serious 3D version, done by a real research lab, in Java, go here: http://mrl.nyu.edu/~perlin/facedemo/
However, they don't let you choose the amount of each emotion, so obviously my webtoy is better ;-)
no subject
Date: 2008-06-06 08:59 pm (UTC)*IF* you're gonna write these kinda things
you need to learn to say...
"It works fine in my version of I.E.
Do you have the latest update?"
"How do I reech theez keeds?"