Archive for the 'teaching_' Category



ITP Show

Another semester draws to an end with a terrific selection of projects at the ITP show! There’s also a scrumptious video blog as well as a lovely Rocketboom episode.

A first pass at my Neural Networks in processing tutorial is ready for public consumption. So, before you go and consume a turkey, consume this link. And let me know if it makes any sense at all. . .? The examples are still trivial — Linear classification, Solving XOR — but I hope to develop [...]

view applet and source So after a fierce battle with my own neurons, I am ready to release part II of my Processing series: “Neural Network! Huah! What is it good for? (Sing it again, now.)” This example implements a multi-layered neural network that learns via “back propogation.” It’s specifically trained to solve XOR. In [...]

Perceptron

view applet and source Long overdue, I’ve started working on a series of

The Human Connection

An article about ITP was published yesterday in the New York Sun. Now, I’m no fan of this newspaper (see their editorials, which I couldn’t bear to read), but they do have excellent arts coverage, and they did capture ITP quite well. But did I really say this? “Ultimately, it’s about the human connection — [...]

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 it works for [...]

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 [...]

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 Introduction to Computational [...]

back to school

ITP is back in session, and another semester of nature of code has begun. Here’s a new example that demonstrates a method for picking a non-uniform distribution of random numbers.

book.shiffman.net




You are currently browsing the daniel shiffman weblog archives for the 'teaching_' category.

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