Processing goodness

The Processing library that initially targeted at graphics designers, has recently been released in a stable version, and I’ve just found the time to have a quick look at it.

Processing lancé sur Ubuntu Intrepid 64

Processing on Ubuntu Intrepid 64

A few features impressed me right “out of the box”:

  • the IDE is well designed I think:
    • straightforward: only the necessary elements are displayed: run/stop buttons and the usual saving ones
    • elegant with nice shapes and colors (even the syntactic highlighting matches the colors from the rest of the GUI)
    • the documentation is easily accessible by right-clicking on a keyword1
  • the packaging has been made carefully, though it’s probably been made easier with the use of Java and an open source license, some stuff is really meaningful to me:
    • it installed without a glitch on my Ubuntu64
    • the IDE offers an export function that make it possible to turn a simple script in a standalone application (to do some demos, and/or to put it on the web)
    • there are a lot of sample scripts available that are really helpful to find out about the library’s various features and the way to use them.

I haven’t looked at the scriting language in detail, yet, but from what I saw in the sample scripts and also from the good reputation of the library on the net, I guess I should not be deceived.

  1. I’d certainly like to put this in my MathBench project []

Programmation artistique

On a fait du chemin depuis l’ASCII art et on trouve désormais pas mal de ressources pour transformer les ennuyeuses tâches de codage en mini-expériences graphiques (toutes proportions gardées évidemment), les derniers exemples qui me sont passés sous le nez:

  • Graphe d’appel en couleur: comment rendre (presque) joyeuse une tâche de profiling (ousqu’on regarde à quel point ce qu’on a codé est lent à mourir)
  • Rendu 3D de graphiques: génération de camembert via Python+PovRay , c’est complètement j’té mais j’aime bien :)
  • “Sparlines”: de petits graphes très discrets à insérer un peu partout. Pas très excitant dans le fond mais simple, efficace et surtout très très fashion en ce moment…