Peggy simulator v1.0

This is the first version of my Peggy 2.0 simulator. Peggy 2.0 is a piece of hardware that lets you mess around with brightly coloured LEDs and mesmerise small children. You can see a video of it on youtube.

Before I get around to buying one and soldering the damn thing together, I thought it might be handy to try out some demos first, using the magic of Processing.

The aim is to produce a reusable set of Peggy classes that anyone can use to try out ideas.

  • In good MVC fashion the data and display are kept separate, so you can plug in your own display
  • The display is basic but resizes to any x:y cleanly
  • Next steps: (1) make it faster (2) more fancy demos with the LEDs (3) more realistic LED rendering with ‘bloom’, so it actually looks like the video

Hit ‘Continue’ to see a basic demo with a bunch of sine-wave bars going in and out of phase.

Read the rest of this entry »

TV simulator

Remember when you were a kid and you sat too close to the TV? You could see the little RGB elements dancing and glowing away.

This sketch was inspired by that, and also by a sequence in the film Zidane: a 21st Century Portrait, which Stu and I went to see in 2006. It draws an image using only RGB elements and introduces interference for that retro look. Look closely and reproduce your childhood eye trauma!

Hit ‘Continue reading’ to see it.

Read the rest of this entry »

ye olde particle system

Hello. This is the first in an infrequent series of wee widgets I’ve written with Processing.

First, a particle system with fade, brightness and scaling on the Z axis. Hit ‘Continue reading’ to see the magic.

Remember you will have to wait for Java to load – this can take a few seconds.

Read the rest of this entry »