noahgibbs: Me and my teddy bear at Karaoke after a day of RubyKaigi in HIroshima in 2017 (checking it for errors?)
[personal profile] noahgibbs
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, [livejournal.com profile] lovmelovmycats!]

Date: 2008-06-06 01:56 am (UTC)
From: [identity profile] lovmelovmycats.livejournal.com
I use IE, and sadly, I do not see a face. It's supposed to be in the box, right?

Date: 2008-06-06 01:57 am (UTC)
From: [identity profile] angelbob.livejournal.com
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!

Date: 2008-06-06 02:00 am (UTC)
From: [identity profile] terpsichoros.livejournal.com
Doesn't work in Opera, either.

Date: 2008-06-06 02:02 am (UTC)
From: [identity profile] griffjon.livejournal.com
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

Date: 2008-06-06 02:05 am (UTC)
From: [identity profile] angelbob.livejournal.com
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...

Date: 2008-06-06 02:05 am (UTC)
From: [identity profile] angelbob.livejournal.com
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 :-/

Date: 2008-06-06 02:07 am (UTC)
From: [identity profile] angelbob.livejournal.com
Hm, no, I'm wrong. Opera9 has at least the basics. So I could probably figure out what's wrong in Opera, too.

Date: 2008-06-06 02:35 am (UTC)
From: [identity profile] ribbin.livejournal.com
That shouldn't be nearly as amusing as it is. I commend you, sir!

Date: 2008-06-06 06:28 am (UTC)
From: [identity profile] shadowsintime.livejournal.com
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.




Date: 2008-06-06 02:56 pm (UTC)
From: [identity profile] angelbob.livejournal.com
*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 ;-)

Date: 2008-06-06 08:59 pm (UTC)
From: [identity profile] rbus.livejournal.com
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?"
Page generated Feb. 12th, 2026 02:48 pm
Powered by Dreamwidth Studios