Archive for the ‘Processing’ Category

Exercise 10 – 3D

Saturday, December 6th, 2008

texture-cube.pngProcessing is capable of importing 3D models in various formats from your favourite modeling program. This post shows examples and explains what you plugins you might need.

(more…)

Exercise 9 – Video

Sunday, November 23rd, 2008

color-tracking.pngThis weeks post is all about video. We create a very cool video player with some 3D effects, a video recorder and ultimately a little programm that allows you to track objects based on their color.

(more…)

Exercise 8 – Filters

Saturday, November 15th, 2008

texture-cube.pngMost people are familiar with the concept of filters, in fact unconsciously used them many times. Everytime you sharpen an image or apply a gaussian blur, every single pixel gets processed by a certain mathematical rule.

This post demonstrates a few well known filters and reveals the magic of what goes on under the hood.

(more…)

Exercise 7 – Colors

Thursday, November 6th, 2008

This week’s post is all about colors and how you can use code to work with them. We create a color picker and apply color filters to an image to create a neat effect.

(more…)

Exercise 6 – Pixel editing

Thursday, October 30th, 2008

According to Wikipedia, “Image editing” encompasses the processes of altering images, whether they be digital photographs, traditional analog photographs, or illustrations. In our case we alter digital photos and those consist of pixels. Learn more about how to manipulate pixels and techniques to overlay several images.

(more…)

Exercise 3b – Sound with Processing

Saturday, October 11th, 2008

Task 2: MP3-Player

The task was about creating a little MP3 player which is able to play mp3 and display the amplitude graphically. I added a few extra features so that for example the filename of the current track and its time are shown. The graph’s color and stroke weight are also dynamically changing.

View Applet / Source The mp3-file used in this example may take some time to load (0.9 MB).

Task 3: MIDI-Player

This applet plays a MIDI file and enables the user to pause the file. With the keys 1 to 9 you can also generate basic sounds.

View Applet / Source

Midi replay doesn’t yet work due to some problems with the paths. :-(

Task 4: Fourier Analysis

This is an extension to the simple MP3 player from Task 1. This one shows not only the amplitude, it displays also the frequencies by FFT (Fast Fourier transform).

View Applet / Source The mp3-file used in this example may take some time to load (0.9 MB).

Exercise 2 – Processing

Monday, September 22nd, 2008

Exercice 2a: Random black lines on a gray background.

Exercice 2b: Use your mouse to draw lines! With the keys r, g and b you can change the line colors to red, green or blue. Exercice 3b: Rotating Globe with changeable direction on mouse click.

Processing and TextMate in sweet harmony

Saturday, September 20th, 2008

Processing is a great tool, but to be honest, the code editor could be better. Fortunately there is an easy way to integrate it into TextMate.

(more…)