Sublime Text 2 build system for PROCESSING

I just threw together a quick PROCESSING build system for Sublime Text 2

Build PROCESSING pdes inside of Sublime Text 2

PROCESSING build system for Sublime Text 2 WINDOWS

Here is the same build system for Sublime Text 2 on OSX

Build PROCESSING using Sublime Text 2 - osx

PROCESSING build system for Sublime Text 2 OSX

{
  "cmd": ["killall -v java  ; processing-java  --sketch=$file_path --output=$file_path/build --force --build --run "],
  "shell": true
}
Advertisements

Joshua Davis XMAS 2012 collaboration gets featured!

Guess who got another Processing sketch featured in the Sketchpad gallery?

PROCESSING

PROCESSING APPLICATION GETS FEATURED

If you haven’t seen the full application at http://joshuadavis.com/xmas/, go there now and make some art.  Then share it on Twitter and Facebook.

Brought to you by Joshua DavisJon ContinoChuck AndersonSi Scott, Eric Fickes, and the entire Satellite Office family.

 

Apache FLEX processing sketches

I did these Processing sketches while I was working the final 360 Flex conference back in May 2012.  A certain person who I will call Wilkero said I would win some software if I submitted something to the logo contest.  All I won was unlimited bottled water while working the volunteer table.  It was a good conference.

So here you go Flexers.  Hope somebody likes these.

Atomic2_ApacheFlexColors3

Atomic2_ApacheFlexColors2

Atomic2_ApacheFlexColors5

Atomic2_ApacheFlexColors4

BOARD_Heart2_ApacheFlexColors

board_heart2_apacheflexcolors2

 

Heart_ApacheFlexColors

Text to speech PROCESSING example for OSX

If you’re on OSX, you have access to a text to speech command named say.  This command typically lives at /usr/bin/say and it lets you read text using a robot voice.  If you’re unfamiliar with say, open up Terminal and type the following:
“say you are the master”
Image
Assuming your speakers aren’t muted, you should here a robot voice say “you are my master”.  The OSX say command has many voices built in which you can see by running this command:
“say -v ?”
And now for the magic.  Say you want your Processing sketch to speak.  No problem, here’s the source code to a simple sample of how to do this.
// Begin Processing Sketch
void setup() {
  size(200, 200);
  text(“Turn up your sound”, 5, 100);
  text(“and then click me”, 5, 120);
}
void draw() {
  // draw() must be present for mousePressed() to work
}
void mousePressed() {
String[] cmd = { “/usr/bin/say”, “What’s shaking bacon?” };
exec(cmd);
println(“mousePressed “);
}

// end sketch

My first animated gif made with Processing

Ah yeah, I made my first animated gif with Processing today.  Here’s my gif

this gif made with PROCESSING and gifAnimation lib

this gif made with PROCESSING and gifAnimation lib

I made this with Processing and the gifAnimation library in about 10 minutes.  Here is how.

  1. Download and install Processing from processing.org
  2. Fire up Processing and create a quick sketch ( this step forces you to setup your sketchbook folder )
  3. Download the gifAnimation library for processing and unzip to a temp folder
  4. Inside your sketchbook folder ( from step 2 ), create a new folder named libraries
  5. Copy the folder named gifAnimation from the temp folder in step #3 into your  libraries folder inside your main sketchbook folder
  6. Start a new sketch and import gifAnimation.*;
  7. Then get coding

( or just download the full PROCESSING sample of using gifAnimation library   )

You will find full processing samples in the gifAnimation zip file you downloaded in step #3.  Also, this page has a great example under the section title EXPORTING A GIF ANIMATION.

I haven’t dug any deeper into the gifAnimation library because it just worked.  I hope creating animated gifs from Processing will be as smooth for you as it was for me.  If not, please let me know in the comments section.  If you have any tips or tricks with the gifAnimation lib or animating gifs via Processing, I’d like to hear those as well.

Now to make animated fire.

noLoop();