Thursday, 19 July 2012

Creative Coding Exercise


In the first studio for DSDN 142, Creative Coding, We were told to choose an item from our bag and to write down precise instructions of how to draw it. We then had to give the instructions to another person who had to draw the item.

My instructions were these:


Two things will become one, keep that in mind.
Draw:    .an 8mm vertical line
                .parallel to this draw a 10mm line
                .link the two lines with a convex curve to form a bulb like object
                .beside the 10mm line draw a circle with radius of 5mm that touches the 10mm line in the middle.
                .draw two small horizontal lines to link the ends of the 10mm line to the circle.
                .on the circles bottom edge approximately 6mm from the 10mm draw a line of 20mm down.
                .draw another vertical line a further 2mm away from the 10mm line.
                .connect the end of the two lines with a line of approx 2mm.
.[REPEAT THE ABOVE]
                .In the middle of each 2mm line start the beginnings of two lines (four lines in total). These will be (approx) 10cm long. The two lines will be 1mm apart. They will not be straight lines but free flowing curved lines. The two sets of lines should meet once the 10cm is drawn.
                .at the point which they meet, the four lines will become two (kind of like a 3-way intersection).
                .Carry these two lines (still only 1mm apart) off the page.

 




 
 This is what was drawn from following my instructions:


A set of headphones, not perfect, but not bad either.
The point of all of this was to show us that coding is sort of like writing instructions. The computer programs will only show what you tell them to show.

No comments:

Post a Comment