Google API for processing

Google Web API developer’s kit provides a programming interface to query web pages through Google from our own computer programs. This library is a processing wrapper for Google Web API. There are some limitations in terms of maximum numbers of query per a day. However, Google Web API has great potential to allow Processing users to create sketch pieces enriched by huge amount of data available through Google.

Posted via email from Processing (P5) | Comment »

giCentre Utilities

gicentreUtils

A library by giCentre.org to assist creating data visualization sketches with Processing.

Packages in the library include colour utilities, statistical graphics, morphing classes, spatial utilities and map projections, text input/output classes and multi-sketch tools. All are fully documented with example sketches to illustrate how to use them in your own Processing code.

For queries about the library see the Processing Forum or email us directly: gicentre ‘at’ soi.city.ac.uk.

Posted via email from Processing (P5) | Comment »

jklabs :: MaxLink

The MaxLink java libraries enable communication between Processing and Max/MSP 4.5+ on both Mac and Windows.

Version 0.36 is available for download. It provides basic support for sending and receiving messages between Processing and Max, a Max object for launching Processing sketches, and some tools for creative networking.

MaxLink works by multicasting UDP messages over the local subnet. It uses a specific namespace protocol to match the inlets and outlets of Max objects with declared inputs and outputs of a Java processes (including Processing sketches).

Several simple examples are included in the download package. It only takes a few lines of code to get your Processing sketch talking to Max.

Questions? Email me.

© 2004-2010 jesse kriss / jesse@jklabs.net

Posted via email from Processing (P5) | Comment »

the Probotics

DATAREEF IS THE THESIS PROJECT OF PROBOTICS @ AA-DRL (ARCHITECTURAL ASSOCIATION, DESIGN RESEARCH LABORATORY PROGRAM IN LONDON). THE THESIS AIMS FOR THE DEVELOPMENT OF A SELF-ORGANIZING SYSTEM THAT CAN ADAPT TO A HIGH PREASURE ENVIRONMENT. THE WORKFLOW WAS PARALLEL BETWEEN DIGITAL (PROCESSING/RHINO) AND MATERIAL EXPERIMENTS.
PROBOTICS IS NOW DEDICATED TO ARCHITECTURE & RESEARCH.(LONDON-DELHI)

Posted via email from Processing (P5) | Comment »

» Processing in xCode

Okay - just follow up to ABs email - I had to use this last year when developing a library.
Problem is that libraries are .jar (compiled java), these have to be made in xCode (or similar IDE), then they have to be put into the correct folder for processing to be able to find them as new libraries (this requires restart of processing). So you can imagine how repetative and annoying it is to keep recompiling and updating the .jars.

Way around this is to work with the sources in xCode and compile the new libraries at the same time processing starts to run.
Have inked the xCode template project for running processing sketches - any additional libraries as .jars need to go into the ‘libs’ folder, if they are .java (i.e.ones you are working on/editing etc.) the need to go in ’src’ with your main processing sketch file.

xCode Template for Processing

Posted via email from Processing (P5) | Comment »

Xcode 3.x IDE for Processing development « Changing Tides – Brenda Moon

I’ve been having a look at the Processing language (http://www.processing.org/). After using the Processing IDE for a while, I decided to try using the Xcode IDE instead of the Processing one. I’m a beginner with both Java and Processing, and I had a difficult time getting it to work. The only instructions I could find were for an older version of Xcode, and didn’t make sense with the new version. But I have it working now (at least as far as my testing can tell).

Here is what I’ve done:

  1. Create a new Java project in Xcode – I think I used Java Application or maybe Java Applet template.
  2. Copy core.jar from the processing library folder (/Applications/Processing 0135/lib/core.jar – in my case) into the lib folder in your Xcode project.  I couldn’t find any way to do this inside Xcode, I did it using Finder to copy the file.  The Xcode lib directory is automatically created in the directory you set for your Xcode project.
  3. Put the ‘data‘ sub-directory with your Processing applications resources (graphics and fonts) into the resources directory in your Xcode project.  It also works if you put it in the bin directory, but anything in there gets wiped out if you do a Clean before doing a build. I also did this outside of Xcode using Finder.
  4. I used the instructions from Chapter 14 of “Processing – Creative Coding and Computational Art” by Ira Greenberg on how to setup a Processing project inside the Java development environment.  The Processing IDE is clever enough to run the same code if you want to move back into it. In the book he talks briefly about Java mode on page 162 and says that he will refer to it in more detail in Chapter 14.  But the printed book I’ve got only goes up to Chapter 13.  On the publishers site the book details page (http://www.friendsofed.com/book.html?isbn=159059617x) includes links to PDF versions of “Chapter 14: 3D Rendering in Java Mode” and an extra appendix - “Appendix C: Integrating Processing within Java”.  Both of which are very useful for trying to get Processing working in a Java IDE. Here is my first (very boring) test:

    import processing.core.*;
    public class MoonPhases extends PApplet {
      // add 'private' in front of any variables declared outside the setup() function
      private int frame_rate = 20;
     

    public static void main ( String args[] ) {
      // has to match your class name!
      PApplet.main( new String[]{"MoonPhases"} );
      }

    // add 'public' in front of any functions
      public void setup ()
      {
      size(300, 300, P3D);
      frameRate(frame_rate);
      }

    public void draw ()
      {
      background(0);
      stroke(51,255,51);
      line(150, 50, 50, 50, 150, 50);
      }
    }

I’ve also set up a Subversion (SVN) repository and I’m using that from Xcode. I imported my project into SVN, deleted it and then checked it out from SVN. I’ve found the doing a Build -> Clean deletes the hidden SVN files and then you can’t commit the whole project because it thinks you don’t have those directories checked out. I’ve tried to find a fix for this but haven’t had any luck.

One suggestion I found while looking for a solution was to not have the build directory in the repository and to tell Xcode to use a directory outside the Project directory being managed by SVN. I’ve done this using Project -> Edit Project Settings. The Build Products location is set on the General tab.

But the Clean also removes the files from the jars, bin and dist directories which then can’t be committed to SVN.   I’d welcome any suggestions on how to fix this.  

Posted via email from Processing (P5) | Comment »