Archive for October, 2006




watch video!

watch video!Thanks to an idea from students in my icm class (see Catherine’s “greedy game-animated sprite”), I developed a Processing library that grabs values from Apple’s sudden motion sensor. The library is a JNI implementation of Unimotion by Lincoln Ramsay. It hasn’t been tested on an intel mac, so let me know if […]

Word Wrap in Processing

I’ve been meaning to add something to processing hacks for quite some time now. This morning, I needed a basic function to wrap text in Processing so came up with this snippet.

// Function to return an ArrayList of Strings
// (maybe redo to just make simple array?)
// Arguments: String to be wrapped, maximum width […]

Alien vs. Predator

This is a quick visualization of data from the netflix prize. A vertical bar is drawn for every customer rating a movie. Ratings go from 1 to 5 stars (represented top to bottom.) Note how “Alien” (on the left) received many ratings of 4 and 5 stars, but “Predator” (on the right) […]

Netflix Challenge

Netflix recently released 100 million movie rating records as part of a contest to improve its movie recommendation system.
The problem:
I know how I rated a whole bunch of movies. I know how everyone else has rated a whole bunch of movies. For any given movie that I have not yet […]

I’m working on a new library that makes asynchronous http requests (web pages, xml feeds, etc.) in Processing without blocking possible. It runs its own thread and uses a callback (just like with the serial, video, etc. libraries) This developed out of a need that I noticed in student projects in my […]




You are currently browsing the daniel shiffman weblog archives for October, 2006.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.

Categories