Processing, in the meantime…

Can’t even remember when was my last post 😦

A lot of things to work with, lot of really cool stuff to try and experiment with… Summer holidays, parties and relaxing… Now we’re here!

 

There was a lot of things going on. Last thing is this:

 

Thing is, this is not something very big, for you, me, but its kind of cool to do it in one hour from very very basic knowledge of Processing.

Bye!

Processing the ideas!

Hey hey, it is a bit late in the night, so I’m going to make this shorter for the sake of my sleep.

There was some time since I did last introduction in Processing. I have had many things to do, so I abandoned it, hoping I will come back to it someday in the future. Awwww, like a tale! 🙂 I almost feel sorry for me! Almost! Anyway, like a good old(young) student I don’t have time to do things I would like, or at least I don’t have enough time… Where is the Processing in this story??? Here it is!

This semester I had to do some seminar on formal languages, automata and language processors. That has to do with computational theory. I had freedom to choose subject of my seminar, and I did. It is about cellular automata. Wolfram’s rules, Rule 30 (not that you would firstly picture in your mind) and Conway’s game of life. Game of life or just Life was very fascinating to me. So fascinating I wanted to make it by myself. I did. I programmed it in C, with the lousy visualization in terminal (with 0 and 1). Then I remembered. Processing! Just the right tool for it!

But wait! I did not know the intermediate techniques for it! That did not scare me, and should not scare you. Very similar to Java. You don’t know Java? Never mind, you will learn it for a short period because it is very intuitive. With knowing the C and Java, and some basics in graphics, programming the game of life took me couple of hours.

Here it is:

Code is quite simple, and I will post it here. Since I don’t like how my wp is formatting the code, I will post link to it, when I figure out how to present it.

At the end, program is not complicated, Processing is not complicated too, but the game is very fun to set and watch.

Bye !:)

Processing the processing

Me again! (Noooo) 😀

As you might already figured out, I have a custom to write here periodically. As you might also figured out, this is one of those days I’m super inspired to write some super cool extra blog articles! 😀 Wow, cookie for me! 🙂

Having in mind that I had a long working summer and little time to relax, my interests lately are not so miserable. It’s like like a dream, and I don’t know if I’m sleeping or not, coz I’m feeling very tired. Being very tired and bored with everything, I started to read RSS feeds through RSSOwl. Nice thing, all RSS feeds you choose, every day, at any time, for you! Wow 🙂 So, after reading about news in open source world, I stepped over one particular link about open source applications for video editing. Here it is. There was a particular thing that kinda poke my imagination. Yes, program for working with graphics ( and sound, but I’m not into that yet ). It’s called Processing.

There’s one very neat thing with Processing. I don’t know how deep are you in Java programming language, but Processing syntax is very much like Java’s. Great thing for me! Don’t know about you. Being familiar with Java syntax, it’s not going to be very hard to start with it. But, that is not the neat thing I was going to speak about.

I had experience, that I wanted to make some simple pong game in Java, when I started learning it. Buuuut, there was a big problem! So many things to figure out by my self, or to take a books and read. Eventually, books would have give me better understanding and take me a longer time to do it (in right way, of course). Since I’m inpatient, I wanted to make something fast. So, I took Java’s API, and read little about double buffering. I made something, but lost my patience after all that guessing and doing it all wrong. Here comes Processing, winning the day! Processing gives you speed in doing all sweeet graphics programming, without worrying about double buffering or anything else. You just have to learn some basics, get some code dumped in the Processing main window, and press play. If you are lucky, you’ll do some basics very fast, and proceed to 3D graphics with OpenGL. Yes! Processing has libraries for many things, and for OpenGL among all others.

Soooo, go there and do some Processing, and let me know what was your impression! Bye!