30.4.08

trying to get along with processing.

i don't seem to be getting parts of the programming language, although it's similar to actionscript and javascript in places (both of which i can just about get along with), in others it becomes too mathy and my brain refuses to compute it. i think the reason i get on with HTML and CSS so well is because it resembles english, i can easily translate it into sentences. as soon as my brain sees numbers, it just yells "NO!!! NOT WORDS!" and there's white noise in my head.

of course i'm determined to get over this, and whilst it involves spending much of my time staring at the code trying to figure out just exactly what i'm doing wrong, i'm starting to feel like i'm getting somewhere.

in my little experiments in the past couple of weeks i've managed to messily mash two bits of code i found together, one which generated random rectangles and another which imported SVG images, to create a piece of code that randomly placed the SVG on the screen. and after a bit of help it now has a variable which draws the SVG more than once.





keep in mind that these are just tests! i'll be creating some nicer SVGs over the coming weeks.

i'm no longer attempting to use the SVG script i mentioned in an earlier post, as it just doesn't seem to work for me! so i'm instead using candy, which allows fancy things like fills and shapes, and is actually built into the latest release of processing.

my next serious of faffage, or rather experiments, is going to include playing with varibles, including more than one SVG file and creating some kind of background. maybe. and taking more photos of pretty flowers and making them into pretty SVGs.

No comments: