First Post: Processing language… w00t w00t!

Processing 1.2
Processing 1.2

I thought for quite a while about my first post, and instead of wasting useful space, I’ll cut right to the chase and talk about a fairly young language called Processing.

To be honest it’s not that young, it’s been around since 2001 (according to their website). However compared to other languages, it’s a new born.

According to

“Processing was Initially created to serve as a software sketchbook and to teach fundamentals of computer programming within a visual context, Processing quickly developed into a tool for creating finished professional work as well.”

I couldn’t agree more. Processing is a solid language with a very decent and user friendly interface that will allow you to visualize what was once an idea or a thought. It will provide you with all the tools to create advanced animations, algorithm visualizations and sick graphics. In addition, Processing comes with a set of libraries (OpenGL, Minim, PDF, Network, etc…) thus increasing extendability and convenience.

Not only they have a very comprehensive online reference, an active community, they also have many very well written books discussing the implementation of multiple algorithms with this language.

I have picked the best 3 to get you started:

  1. Getting Started with Processing : this a simple book discussing the basics that will get you started with processing. It’s written to be a basic guide for beginners. Many examples are discussed thoroughly and before you know it you’ll be doing your first simple animation.
  2. Processing: A Programming Handbook for Visual Designers and Artists : I fell in love with the complexity of this book. If you’re a beginner in programming, this book is not for you. The discussion of algorithms in this book is very thorough and enjoyable. “The majority of the book is divided into tutorial units discussing specific elements of software and how they relate to the arts.”
  3. Algorithms for Visual Design Using the Processing Language : This is my favorite one. I love it because it provides you with generic code and algorithms which you can use to experiment on your own. It provides you with the building blocks for your own code and gives you an insight on the best practices of visual programing.

It’s only been a week since I started experimenting with this very powerful language and so you don’t get bored I attached to this post some images of what I’ve came up with so far. Oh and have I told you that processing is open source? I will share the code for these examples in later posts. With these pictures below, I conclude my first post.

Thank you,

• Bassem

Note: Click on the thumbnails to enlarge.

Game of Life
Game of Life - John Conway

Processing function plotting
Sin() Cos() functions plotting
Elimination algorithm in processing
Elimination Algorithm implementation
Elastic-Collision algorithms
Elastic-Collision implementation

Leave a Reply