Software over the rainbow

desearch and revelopment

Category: Programming

dithered screengrabbing

Over the weekend, while researching ways to combine cocoa and openframeworks I stumbled upon this sweet simple code to grab the pixels below an openframeworks app. Thinking of what to do, I dusted off my old ofxHalftoner* to dither the content of the screen and to my surprise everything worked reasonably fast in real time. [...]

Meanwhile, near by…

An openFrameworks workgroup has started this week at Hangar. Every thursday until March, the wise Arturo will be there helping you with any doubt that you have. From 19 to 21 pm. +info The equally talented Chris Sugrue will be doing the same in Madrid’s Medialab. Every friday from 19 to 21pm. +info Last, and [...]

instructions, limitations

Instruction set is a recently launched site that gives some instructions every month and asks for implementations in code. Think Sol Lewitt goes 2.0 (sorry I couldn’t resist). It is a beautiful simple idea and It’s stealing me lots of braincycles (see). I’ve heard raindrops here and there about design by limitation lately. Number of [...]

Penner easing for c++

As I said last week, I’m also using robert penner’s easing equations in openFrameworks, so I’ve ported them to c++. This has been relatively straightforward, but, as with the actionscript to java conversion, I’ve run into some nuances between languages and I’ve definitely learned the hard way (read “wasting some hours of my life”) why [...]

penner’s easing equations processing library

Being an actionscript head, I’ve frequently used rober penner’s easing equations in processing*. To avoid copy/paste each time I’ve packed them as a processing library. While I was at it, I discovered a couple of implementations (1, 2), but I was almost done, and wanted to learn how to make processing libraries anyway. So in [...]

actionscript 3 syntax highlighting for jEdit

Still happily living on jEdit for most of my scripting. I haven’t found an actionscript 3 edit mode, so I’ve made one. It is based on the original actionscript.xml and the Flash CS3 AsColorSyntax_3.xml file so it should have everything you can see colored on the IDE. This edit mode doesn’t have any as2 specific [...]

php and mysql in different time zones

Just a quick code tip for working with dates in mysql and php. I’m building a script to regularly mirror my last.fm recent tracks to a mysql database of my own. I’m interested in experimenting with daily and hourly statistics. One problem that has taken me some head scratching has been the fact that the [...]