The Pixel as a Material

The way I got started with creative coding was by experimenting with the pixel as a material. Going down to the level of the pixel was made easy in Processing requiring only one line of code to set the colour of a pixel.

set(10,10,color(255, 100, 0));

This simplicity helped us on the way to the creative coding movement we are seeing now. Starting with a complex idea and trying to code it is a difficult was to learn programming. I would advise anyone looking to getting into creative code to start experimenting with the properties of pixels.

Below you can see the result of drawing lines without antialiasing.

Get to know the material.

Loading Applet…


  • http://michalpiasecki.com/ Michal Piasecki

    I agree. Processing is a great tool for starting coding (and for writing some more sophisticated pieces too). It is so handy because of the way in which graphical output is being handled – as you say – few lines of code enable you to carry out interesting experiments. It’s also quite easy to jump into other languages after learning it.

  • http://michalpiasecki.com/ Michal Piasecki

    I agree. Processing is a great tool for starting coding (and for writing some more sophisticated pieces too). It is so handy because of the way in which graphical output is being handled – as you say – few lines of code enable you to carry out interesting experiments. It’s also quite easy to jump into other languages after learning it.