March 11th, 2008 by yp392
For my ICM final, I decided to make a digital Kaliedoscope with the live streaming image from a webcam. In the process, I found there are multiple ways to reach the same end (For e.g. I found atleast 2-3 ways of pasting the triangular image form the webcam on the processing window - but there is always one way which is in better style, more elegant way of writing the code! - and this basically gets determined by how easily is the code re-usable..flexible)
There was added functionality of being able to pixelate the images - circles of squares - and define the amount of pixelation using arrow keys….
Here’s a video

I’d like to work with some physical interface at somepoint…to actually be able to control the orientation of the image…
Posted in ICM | No Comments »
November 4th, 2007 by yp392
So I created Autumn leaves using bezier curves…It was fun.I really did want to experiment with more organic shapes. Also, i did this for my serial communication assigment.
I used
1.) A time machine to speed up the change in fall color - the knob of the potentiometer making the leaves go from green to orange-yellow
2.) A wind simulation - making leaves go left or right witht he direction of the wind - using a flex sensor to control the wind direction
3.) A simple switch to reset the entire scene
A non serial version with a cleaner code, better look and feel and more attention to detail was what ended up being my
mid-term assignment
You can move your mouse around to guide the direction on the wind. And a mouse click restarts the whole thing again…
Posted in ICM | No Comments »
November 4th, 2007 by yp392
From here on bouncing ball takes a back seat!
I have discovered libraries…
Libraries for video, sound, text, xml feeds etc etc - It’s a big exciting world out there beyond circles and squares! Not that I didnt enjoy them while I was at it.
First assignment using library - Simple ML - text parsing from the web…
(This link sometimes doesn’t work…or takes a long time)
Posted in ICM | No Comments »
November 4th, 2007 by yp392
Started object oriented programming - first step to create a cookie cutter or class - which basically means not only defining a function (which is what will the object do) but also the form (what is the object going to look like)
Week4 Assignment - also had fun playing with sin and cos funtions
Posted in ICM | No Comments »
November 4th, 2007 by yp392
(I am updating my blog for my ICM projects right from week 3 to week 7 together…I suck at being regular…
But it’s probably not so bad ’cause I am atleast doing it! It’s Pcomp documentation that kills me!)
I am making steady progress in ICM…. Each week I feel I’ve added some extra skill to my earlier non-existent coding background.
This week 3 assignment - this one reacts to mouse, also I kind of liked playing around with alpha…
Posted in ICM | No Comments »
September 19th, 2007 by yp392
This is the link to the pong game.
However still working on this…more balls, varying speeds, keeping scores etc etc (and yes a cleaner shorter code!)
Posted in ICM, ITP | No Comments »
September 18th, 2007 by yp392
Posted in ICM, ITP | No Comments »