Archive for the ‘object’ Tag

DMX object for Processing   Leave a comment

I recently finished a project that involved controlling many LEDs from Processing through the DMX USB Pro adapter:

popMotion project

I wrote a little object that encapsulates the handling of the DMX messages, click on the link below to view/download it:

DMX object

It is based on an example posted in the Processing forum. I simplified the code a little bit. It doesn’t create that many intermediate arrays, so it should be somewhat faster.

Posted April 14, 2008 by ac in Programming

Tagged with , , , ,

PTexture and PTextureFilter objects for Processing   1 comment

I wrote a couple of new objects to simplify the handling of opengl textures and glsl filters in Processing.

The PTexture object is a descendant of PImage. It holds an opengl texture that can be copied from and to the pixel property. Then the PTextureFilter allows for applying glsl filters to the PTexture objects. The filter can include grid mapping and distortion of the texture through the use of vertex shaders.
Read the rest of this entry »

Posted March 30, 2008 by ac in Programming

Tagged with , , , , , , ,

Design a site like this with WordPress.com
Get started