Howtus

git_logo

SVN to GIT

I spent a lot of today trying to move my Unlogo repository from Google Code to Github. Kind of a waste, but maybe it will help someone else. When you make a Github repository, one of the first things it asks you is if you would like to import a subversion repository. But for some [...]

Posted in Howtus | Leave a comment


allmycode

All My Code

I’ve been gittin’ it up†† over at Github recently.  I think I’ve racked up over 100 commits over the past few months, but I completely made that up, so I’m not sure. Usable Stuff Code for Art – This is 50+ sample openFrameworks apps that I use in the class of the same name that [...]

Posted in Howtus | Leave a comment


Screen shot 2011-01-17 at 5.33.48 PM

ofxBerkelium

I just pushed the first version of an add-on for openFrameworks that is a wrapper for Berkelium, an BSD licensed library that provides off-screen browser rendering via Google’s open source Chromium web browser. Essentially, this allows you to render a web page to an OpenGL texture, or get the pixels for further analysis. Right now it only [...]

Posted in Howtus | Leave a comment


Screen Shot 2011-08-05 at 6.27.43 PM

openFrameworks Lava Lamp

One of my students asked me to port some processing code that he found in a book for one of his assignments. I thought it was kind of clever, so here it is. Stay tuned for proper credits. == Edit – fixed link == Download Source

Posted in Howtus | 2 Comments


QuickTime PlayerScreenSnapz001

ofxOpenCviPhone with OpenCV2.0

At this point I can’t remember why I went with OpenCV1.0 to bundle with the oF extension, but Timothy Llewellynn was nice enough to point out that I could upgrade, so I did! http://4u.jeffcrouse.info/of/ofxOpenCviPhone.zip — This version has OpenCV2.0 compiled for armv6 and armv7 in a single universal. I didn’t bother to compile for i386 [...]

Posted in Howtus | 2 Comments


Searching WordPress.com with PHP

One of my students wants to search WordPress.com entries in her project.  Here’s how! PS: If your server complains about ‘file_get_contents’, paste in this function and replace ‘file_get_contents’ with ‘curl_get_contents’

Posted in Howtus | Leave a comment


ofxiPhoneVidGrabber and ofxOpenCviPhone

UPDATE:  see this post. The 4.0 release of the iPhone OS has introduced access to the pixel data of the live camera stream through the AVCaptureDevice class in the AVFoundation framework.  Want to use it?  OK! If you want the SUPER SIMPLE way and just want to start playing around immediately, get this version of [...]

Posted in Howtus | 6 Comments


ofxJSON

A couple of students also asked about using JSON in openFrameworks.  Here is a quick example of using json-cpp. JSONExample: using json-cpp in openFrameworks. XCode format NOTE: you will need this updated version of ofxHttpUtils_03 and ofxThread (which comes with the FAT version of oF) to run the example.

Posted in Howtus | Tagged , , | Leave a comment


scraping HTML/XML in openFrameworks

One of my students wants to get stock quotes from Yahoo Finance for his project, so I wrote a bit of code to do a HTTP GET and regular expression.  I am a bit out of touch with what has been going on with scraping/web-related stuff in oF, but I recently got a request for [...]

Posted in Howtus | Tagged , , | 2 Comments


Images – Part 1

Part 1 of a 2-part lesson on working with bitmaps in openFrameworks.

Posted in Howtus | Tagged , , | Leave a comment


Shiffman meets openFrameworks

I ported a few of the wonderful examples on Dan Shiffman’s Nature of Code site. I hope they are helpful.  If you like them, let me know and I will keep putting my teaching examples on here. The gifs were made with ofSaveScreen(), mogrify and gifcicle. Basically I exported a bunch of frames and then [...]

Posted in Howtus | 8 Comments


Getting started with PandaStream

PandaStream is a great new open source video sharing project. It’s still relatively new, but I’ve been having a great time hacking on it and making a couple of video sites for various projects. None of them are done yet, but I did give a workshop on Pandastream today as part of the Electrosmog festival [...]

Posted in Howtus | 2 Comments