anyways, I just wanted to state how easy it is to get started.
you download, install, launch program, start coding. that's it...
Download Processing
so what do you type in?
please take a look at the code below.
(you can omit comments or what's after // and do not type stuff like drawing at the beginning of the line as it won't run. All lines start with words like size, background, stroke, point, line, rectangle and you type until ; semi colon which is like a period in English.)
size(200, 200); // this is the size of your screen or canvas
background(0); // background color 0 is black, 255 is white in between will be grays.
stroke(255); // get a white stroke - required step before drawing
point(20, 20); // put point at coordinate (x=20, y=20)
point(width/2, height/2); // put point at center of the canvas
stroke(100); // make it darker now.
line(0, 20, width, 40); // draw a line (x1, y1, x2, y2) draws from xy 1 to xy 2
rectangle(100, 200, 20, 44); // draw a rectangle (x, y, width, height)
and just Command(apple) + R to run it(or ctrl+r on win i guess..)
too simple and boring but this should get you started also. it did for me.
you should be able to animate fairly easy. and i think if you know java you can do some more interesting things because this is Java based language.
anyways, have fun. and any comments or links to your arts or whatever would be great. thanks for reading.

No comments:
Post a Comment