Processing: Export Application using Eclipse (Ubuntu)

02 March 2012

Processing.org I’ve switched to using Eclipse as I’ve always been doing Flash dev in Eclipse for years. So after giving the Processing IDE a great deal of respect I decided that for building apps I would have to use an IDE which suits my needs. Moving to Eclipse might be tricky for new comers but there is a great tutorial on Processing.org on how to do to this. There have been a few attempts to build an Eclipse plug-in and it would seem the new version 2 will sport this as well built by the guys from Processing. I’ve installed this and it can be considered the current IDE baked into Eclipse which I think is a good thing for newcomers to Eclipse. It should be noted that there are some features missing and this is still under development. Most notably the Export Application feature.

read more

Shell Script: Close Previous Processing App

02 March 2012

Recently it was needed for me to be able to check if the Processing app I built was actually closed properly or not before running a new one. You might ask why because all apps should close properly right? But when you are using Processing + Serial + Linux, the result can be somewhat inconsistent. During testing this is particularly a problem and you might find yourself in a situation where stopping and starting a Processing app that makes use of the Serial port doesn’t always close properly. After some digging I realised the Processing App on Linux is nothing more than a Unix Shell Script. If you open up the generated App file in a text editor you should see a few lines of text and most importantly the Java commandline with arguments which will run your Processing app.

read more

JOGL TextRenderer in Processing 2.0 Alpha X

06 February 2012

In my short time using Processing it became evident quite quickly that the text display is fine when using the normal 2D mode but it didn’t work so well when using OpenGL. Since my aim for 2012 is to learn more OpenGL and often I need text to render nicely on screen - it was clear that I was not alone. This class seem to work well in Procesing 1.5 but the libs in 2 alpha x is out of date. So hopefully these steps will help to get it set up in a jiffy.

read more

24 January 2012

Love this Pub's interior

    NodeJS on Win localhost

    10 January 2012

    While working on a proof of concept I thought this would be an ideal opportunity to try out NodeJS. It is a weird thing to fathom, writing server side Javascript but once you’ve spent some time with it, it will start to make more sense. Now I’m not a heavy server side programmer, on the contrary I normally shy away from this sort of thing but it is always good to know how to set up your own site at least. Anyways this is more of a reminder to myself to quickly get up and running should I ever use NodeJS with an M$ platform again.

    read more

    19 December 2011

    Shift Register 74HC595 with Arduino.

    19 December 2011

    Shift Register 74HC595 with Arduino.

    I stumbled upon shift registers when I was looking at LED matrix cubes on instructables.com. A Shift

    19 December 2011

    Shift Register 74HC595 with Arduino. I stumbled upon shift registers when I was looking at LED matrix cubes on instructables.com.

    18 December 2011

    Geometric Smoke

    15 December 2011

    Onitsuka Tiger Packing Circles