Page: 10
Please Log In or Register

OpenFrameworks Icons

I created some icons for use with OF. Download of-icons. Read more about how to use them from this post.

Clean

of-clean
of-clean-debug

Scanner

of-scanner
of-scanner-debug

Pen

of-pen
of-pen-debug


Stand-Alone Application in OpenFrameworks

Include data folder inside application

OpenFrameworks is great for developing applications quickly and the data folder is easy and convenient when you are developing. But after the application is complete and you are ready to distribute/move it around, it can become problematic. For example, if you have more than one OF application in the same folder and they both need a data folder, you have a problem. The best solution I have found is by mazbox in his of64 screensaver example. He used a command that will copy your entire data folder into your resources folder relative to your application:

cp -r bin/data "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Resources";

This needs to be added to the Run Script command found in the application target. See image below.

You can check that it have been moved successfully by right clicking on the application and choosing “Show Package Contents” and it will be in Contents / Resources / data.

Now that your data folder is being copied over, we need to tell OF where to look. So we need to set the path root by calling ofSetDataPathRoot(); in the setup function.
Edit (Thanks for pointing this out Jeff 🙂
For OF < 0.8 call ofSetDataPathRoot(“../Resources/”);
and for OF >= 0.8 call ofSetDataPathRoot("../Resources/data/");

Now you can move the application around and not worry about its relation to the data folder.

MORE INFO


Blind Vodka Taste Test

One of our alcohols of choice is vodka. If we are going to drink it, we should be drinking our favorite. So, we hosted a blind taste test to determine which one was in fact our favorite. P Diddy went on the Ellen show and did a blind taste test to see if he could pick out his own brand of vodka, Ciroc, and did successfully, assuming it wasn’t rigged.

However, we wanted to pick our favorite, not guess which brand was which. We chose six vodkas based on what we normally drink or thought was good quality. We normally buy Svedka because it is cheap and we think it is a good bang for your buck. We had to include Ciroc because of P Diddy.

Results

The results based on 13 participants:

  1. Grey Goose $30
  2. Kettle One $32
  3. Stoli $23
  4. Tito’s $26
  5. Ciroc $34
  6. Svedka $16

Prices are for 750ml bottles

MORE INFO


Gif Recorder Processing Application

This week we gave a talk and workshop at RIT. The students already knew the basics of Processing, so I put together some examples using external libraries to show how Processing could be extended. As I was searching processing’s libraries page I noticed a gif player / exporter library by Patrick Meister. He posted some sample code to make the process easier and I put together a quick application for recording gifs from your computer’s camera.

Processing Gif Recorder

MORE INFO


RIT Talk and Workshop

Anthony and I recently gave a talk about the Lab and the type of work and projects that we create.

Talk

We displayed Twelement and many clever tweets that showed up in real time on the large projection.

Students

We also did a processing workshop.

Workshop

MORE INFO


Older Posts
Newer Posts