Archive for the ‘Software’ Category

Tennis/Pong in Processing

Wednesday, April 30th, 2008

As the final part of the week 4 KKB210: Computational Arts 1 tutorial, we were provided with a copy of the source code for a sketch/program/challenge that was originally written by Casey Reas. It is based on Pong, though it only partially works, as the challenge is to make it work completely.

We did not work on the challenge in class, instead we looked at bringing in a picture to use as the background and creating tints.

(more…)

Images in Processing

Wednesday, April 30th, 2008

The final part of the KKB210: Computational Arts 1 week 4 tutorial was to import an image and make use of it. Processing supports .gif, .jpg, .tga and .png image formats.

(more…)

Trails and Smoother Colour Changes in Processing

Wednesday, April 30th, 2008

Now that we have got the motion more controlled, we can go on to do other things with it such as add semi-transparent trails to the movement, change the speed of the colour changes and size changes, and plenty more. This is what the next part of the KKB210: Computational Arts 1 week 4 tutorial was focused on.

To start with we will be looking at having the changes to the variables being kept at the start of the next loop. IE, having the loop start with the box in the same position and the same colour as it was at the end of the previous loop.

(more…)

More Controlled Motion in Processing

Wednesday, April 30th, 2008

The third part of the week 4 tutorial in KKB210: Computational Arts 1 continued the focus on motion from the second part. For this part we used many of the things we had already done in the previous parts, but modified slightly to create more controlled movement.

You can easily edit the previous sketch to do this, or you can write it up from scratch.

(more…)

Motion in Processing

Wednesday, April 30th, 2008

After learning how to actually draw something using Processing in the week 4 KKB210: Computational Arts 1 tutorial, we went on to discover the secrets of random motion!

We used the square that we drew in the previous part for the basis of this motion.

(more…)