Processing: Functions, Maths and Pseudocode

Press the mouse buttons in the sketch to create red and blue circles In the last lesson we learned about using functions to create conditions to an action. In the above code the conditional statement if is used to make the code react from the user’s mouse being pressed. If any of the mouse […]

Continue reading →

Perlin Noise

Another important way to simulate randomness is using Perlin noise generation. Perlin noise generation differs from random generation as it uses a “smooth” sequence of psuedo random numbers, where a singular value in a sequence depends on its predecessors. This is especially useful in creating natural phenomena such as clouds and the textures of materials […]

Continue reading →

Beginning Work in Processing

The practical part of the first term of our second year is going to be based around the Java-based integrated development environment Processing in order to learn the basics of programming and eventually create a piece of interactive artwork using the program. In a processing sketch conventionally there are two main functions, void setup, where […]

Continue reading →