?

Log in

No account? Create an account
 
 
05 June 2008 @ 06:21 pm
A silly online toy  
One 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!]
 
 
 
lovmelovmycatslovmelovmycats on June 6th, 2008 01:56 am (UTC)
I use IE, and sadly, I do not see a face. It's supposed to be in the box, right?
Noahangelbob on June 6th, 2008 01:57 am (UTC)
Yup, supposed to be in the box. Guess I'll have to debug it on IE when I can find or set up an appropriate computer. Thanks!
griffjongriffjon on June 6th, 2008 02:02 am (UTC)
I think not working in IE is a feature.

Also; a lot changed between 6 and 7, so it might work for one and not the other
Noahangelbob on June 6th, 2008 02:05 am (UTC)
The biggest problem is that I'm using the Canvas widget, which isn't natively supported in IE6 or IE7 (though IE8 has it). However, I'm including a library that should supposedly hack it in.

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...
Anthonyterpsichoros on June 6th, 2008 02:00 am (UTC)
Doesn't work in Opera, either.
Noahangelbob on June 6th, 2008 02:05 am (UTC)
On this, I have no clue. My first guess would be that Opera doesn't support the Canvas widget, since I don't definitely know of it doing so, and that's kind of experimental. So I could probably debug it to work with IE once I've got a chance... But I probably *can't* debug it to work with Opera :-/
Noahangelbob on June 6th, 2008 02:07 am (UTC)
Hm, no, I'm wrong. Opera9 has at least the basics. So I could probably figure out what's wrong in Opera, too.
Anselmribbin on June 6th, 2008 02:35 am (UTC)
That shouldn't be nearly as amusing as it is. I commend you, sir!
 moments in time....shadowsintime on June 6th, 2008 06:28 am (UTC)
What does it say about ME that it is so entertaining in this moment - and that I have so many self-reflective thoughts about what that face looks like. I KNOW I look like that when I'm arrogant and mad too. Mad6Arrogant3, I should just tattoo it on my hand so that I remember to not get bitchy.




Noahangelbob on June 6th, 2008 02:56 pm (UTC)
*grin*

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 ;-)
rbusrbus on June 6th, 2008 08:59 pm (UTC)
no-no-no.

*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?"