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 [...]
Howtus
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 [...]
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
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 [...]
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’
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.
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 [...]
Images – Part 1
Part 1 of a 2-part lesson on working with bitmaps in openFrameworks.
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 [...]