Processing For Raspberry Pi

You know Processing? It is the programming language and IDE aimed at the electronic arts, new media art, and visual design communities. [Gottfried Haider] recently got Processing working on the Raspberry Pi and included a hardware input/output library to manipulate the Pi’s I/O pins.

If you want to experiment with Processing, you can download it right on your Pi with the following command:

curl | sudo sh

You can also download it from the download page. There’s a specific tutorial available or you can watch some general videos on Processing (see below).

[Ben Fry] and [Casey Reas] started Processing in the spring of 2001, while both were graduate students at the MIT Media Lab within John Maeda’s Aesthetics and Computation research group. It has proven popular as a first programming language, particularly for art classes.

There are many places you can download Processing sketches online. Presumably some Raspberry Pi-specific sketches will appear soon. We’ve seen Processing a few times in the past, but having it available on the Pi opens up a lot of opportunity if you want to use Processing or want to introduce students to the Pi with it.

23 thoughts on “Processing For Raspberry Pi

    1. Sometimes, yes; Sometimes system optimisation is less important than time optimisation, and it’s worth sacrificing a bit of processing power to get something going quickly and easily. It’s never the ideal solution, but sometimes it’s an adequate one. Better if the option’s there.

    2. I agree that Java should be banned from the Universe, and certainly is on all my computers, but the more people are exposed to its awful performance figures, the more programmers are potentially willing to rewrite a native version of Java software using better suited languages.
      So, in some way, it’s good to have Java software even on the Raspberry PI.

      1. i might end up using that, or rolling my own gui. i dont expect to be doing anything fancy though. as much as id like to use it, there doesn’t seem to be a build of iup for the pi. i can pull out hair for hours trying to compile one but i always hate doing that.

    1. Well said. I’ve often said if I had a guy come to build a house and he told me: “Man you are lucky you called me. Because I have this great hammer. And it puts in nails, of course, but I also can use it to cut wood and put in screws. I’ve roughed up the face so I can sand with it, too, because the cuts are more like breaks, but it all comes out great!”

      You’d think: What a crazy guy. Then the guy with the saw comes and tells you how he bangs the handle on the nails to drive them in. Crazy, too. When you build a house, you need a lot of tools for different jobs. The electricians, the plumbers, the framers, and the cabinet makers all have different tools, and that’s OK.

      But we get into the war mode about what’s “best” (based, of course, on our definition of “best”). I personally don’t use Processing but, as you say, it is another choice which is good. Well except the emacs vs vi debate. That’s different. :)

        1. I had a laugh at the reviews on that. I, at first, thought it was a gag that Amazon went along with. But I saw the customer supplied photos and my jaw dropped. They *actually* produced this knife. I consider it a novelty but people mentioned the $1000 price tag… That’s a lot of money for something that you really can’t use without struggling to hold it. It’s a 7 lb monstrocity. I guess when you have deep pockets, price has no conventions.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.