Back to the Basics with “Learning Processing”

I decided that before I got too much further in Ben Fry‘s rather-advanced book Visualizing Data I would do well to go back through Daniel Shiffman’s introductory-intermediate-advanced book Learning Processing. So, in a sense I’m starting from square one again, as I’m doing every coding exercise in the book from  the beginning. But it’s always nice to have a firm foundation, isn’t it?

So, here’s the first batch of sketches. In the book, Shiffman recommends that one create a basic shape to elaborate upon as one learns new material. He made a simple alien that he calls Zoog. I decided to make a stick-figure dancer. (In Getting Started with Processing by Casey Reas and Ben Fry, they use P5, the Processing Robot as the running example.) I have still images in the gallery above. The first two are inherently static, the second two are screenshots from a dynamic sketch. Videos of the sketches in action are below.

Completed:

  • Learning Processing, Ch. 00: Preface (0 exercises)
  • Learning Processing, Ch. 01: Pixels (1 exercise)
  • Learning Processing, Ch. 02: Processing (1 exercise)
  • Learning Processing, Ch. 03: Interaction (2 exercises)
  • Learning Processing, Ch. 04: Variables (1 exercise)

More Than a Straight Line This Time

When I last posted on my work with Ben Fry’s excellent book Visualizing Data, I posted all of two drawings, both of which were made with straight lines. Well, Chapter 3, “Mapping,” does a heck of a lot more than that. It took me two days to get through this chapter (as opposed to 1:48 — I timed it — for Chapter 2). It was working on an interactive map of the US. Anyhow, the gallery above contains the many version of the sketches I did while following along with the examples. The still photos do not demonstrate the interactive, changing nature of several of these sketches, I’ve embedded a YouTube video below:

In the meantime, I think I need to go back to Daniel Shiffman’s fabulous book Learning Processing to get up to speed on some of the intermediate stuff first.

Completed:

  • Visualizing Data, Ch. 3: Mapping (17 exercises)