we can’t avoid it anymore
real artists write code
there are loads of examples of artists who use code and programming as a central tool of their practice
have a search and find five examples for next week – post them to your blogs with your thoughts
writing code is really not as complicated as you might think – much of what you write is simply english and a few bits of punctuation
I’m not going to make you into programmers in a single session but hopefully you might get an insight into what it’s all about and how it can be used in an art context
GOOD LUCK!!! (gulp)
we are going to use Processing – a language aimed directly at artists and designers – it’s based on Java and is an excellent base to move on to other languages
it is free and available on mac, PC and Linux from www.processing.org – make sure you get a copy
have a look at the processing website exhibition pages and post a couple of examples you like to your blog
here are some useful bits for you
size(w, h);
point (x, y);
line(x1,y1, x2,y2);
rect(topleftX, topleftY, w, h);
ellipse (centreX, centreY, w, h);
triangle(x1,y1, x2,y2, x3,y3);
quad(x1,y1, x2,y2, x3,y3, x4,y4);
smooth();
colour – default uses RGB
background(R, G, B);
fill(R, G, B);
noFill();
stroke(R, G, B);
noStroke();
strokeWeight(pixels);
transparency – extra parameter for colour commands
println();
text(“text here”, x,y);
and here is a starting structure for something that loops (more on this in the lesson)
void setup(){
}
void draw(){
}
have a look at the arduino website – www.arduino.cc – and the learning > playground > exhibition section for some cool examples
the plan is that at the end of the lesson you should have completed a simple drawing tool – take it home and use it to do some drawings – try a self portrait – post 5 to your blogs
heres the bit that komal wanted