Archive for October, 2006
Processing Sudden Motion Sensor Library
21 Comments Published October 28th, 2006 in ITP, Teaching, blog, p5, programming
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 […]
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 […]
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 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 […]
Asynchronous HTTP Requests in Processing, now with callbacks!
2 Comments Published October 1st, 2006 in ITP, Teaching, blog, p5I’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 […]
Search
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.Archives
- April 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
Categories
- airport (3)
- API (1)
- asterisk (3)
- big screens (7)
- bigscreens (4)
- blog (107)
- book (1)
- email (1)
- evolution (1)
- exhibition (1)
- General (4)
- iac (7)
- installation (9)
- interview (1)
- ITP (61)
- java (23)
- jepson (2)
- library (6)
- mpe (12)
- netflix (2)
- neural (3)
- numbers (1)
- p5 (89)
- phone (3)
- poker (2)
- processing.org (21)
- programming (14)
- qrcode (1)
- random (1)
- run lola run (1)
- sftp (1)
- simplicity (3)
- swarm (1)
- Teaching (48)
- terminal01 (3)
- text (1)
- vague terrain (1)
- video (1)
- videowall (3)
- vlog (20)
- voronoi (2)
- wordnet (1)
- xbee (1)
- yahoo (1)