Category Archives: Int Programming

The Moving Point and Line

The aim of this exercise was to take an existing code, which was a black background on which a point danced around the while leaving its teases.

We had to convert this dancing single point into a dancing single line. I added a red to blue & blue to red gradient to it.To make it more interesting.

Code Given

Code Modified

Also posted in Exercises, Furqan Habib | Comments closed

Using Loop

The aim of second Exercise was to use an Iteration function.
An Iteration function is a function which keeps on repeating as long a statement is correct. There are two types of iteration functions “for” & “while”. (http://processing.org/reference/for.html).

Also posted in Exercises, Furqan Habib, Uncategorized | Comments closed

The Perspective Clock

The basic aim of this exercise was to represent time in a different graphical ways. so the idea with this clock is to see hours, minutes and the seconds as a square frames which starts from a square in the center, which is far away and as the time progresses these frames come out. Hence giving it a corridor like feel.

The second’s frame changes it color from blue to red as it progresses. The hour frame is vise versa to the second frame. The minute frames is represented by green.

Display

The Perspective Clock

Also posted in Exercises, Furqan Habib | Comments closed

Coding Flags

The first exercise of Int Programming was to make 8 flags by using Processing ( http://processing.org/).

The whole exercise revolved around how to make shapes (rectangle, circle – ellipse & various polygon) with the right color, size and putting it at the correct location of our canvas. So that in the end we have a flags drawn by the computer using processing to type the instruction.

Below are the few basic instruction that we used, of cause you can find about it more form processing library. (http://processing.org/reference/)

size(width, height);—————————–the size of your canvas
fill(red value, green value2, blue value3,);——–the color of the object
rect(x, y, width, height);———————– draw a rectangle
ellipse(x, y, width, height);———————-draw an ellipse or circle

Bahrain

Catalonia

Greece

Guyana

Iceland

Kuwait

Maldive

Bahams

Also posted in Exercises, Furqan Habib | Comments closed

Feltron

Feltron Anual Reports are publications created by Nicholas Feltron. He keeps track of his daily activity using Daytum and then design beautiful visualizations about his personal life.

Also posted in References | Tagged , , , , | Comments closed