ICM: Functions & Objects part 2

I’ve managed yet again to create a Processing sketch that doesn’t work in Javascript mode.  I think it’s because I’m using .png’s?  Who knows.  I’ll put up some screen shot or a short movie maybe.  Basically I wanted to recreate the randomly moving circles from last week but replace the circles with cats that are always trying to hold each other.  So there is a cat class and I create 2 cat objects and use functions to make them jiggle, try to hold each other, and tell each other where they are.  These all worked pretty well.  The problem was figuring out the math behind getting the cat arms angles—which I haven’t totally figured out yet.

[yframe url=’http://www.youtube.com/watch?v=yVXaFZYvDB0′%5D

So, things I still need to fix:

1. Second part of the cat arms with joint

2. It would be cool if that cats were draggable

3. And if it worked in Javascript mode

4. Make the legs sway back and forth with x movement



Author: owen ribbit


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s