this is a general programming concept that i dont understand.
how do you write code so that the first time i press a button, play a certain sound. the next time i press the button, you will trigger sound 2. after sound 3, take me back to sound one.
i think of it like a gun with a cylindar moving through the six bullets.
i am wondering how a shape is changed on mouse movement? for starters i could not figure out how to assign a variable to the shape, and then using some sort of assignment operator, convert it. so i went another route, by clearing the canvas.
this seems to work (see below), but now my question is, after the mouse is moved, it will change to a square. how do i change it back to the circle on next mouse movement?
I have not found this in the FAQ anywhere, but on Windows XP this is slow to load. I cleared the java temporary files in Control Panel. This machine is running Symantic Endpoint Detection which I worry is affecting it. I tried to make an exception in the Processing folder though, but that's not enough.
this one is a lot of fun, but i dont understand something: my circles are constantly expanding outwards. i'd like to know how i can reverse the process and make them go inwards.
i have typed out
example 5 - 1 from Learning Processing, and on two different machines i am getting an error at the line of my first if statement (line 16 below). i am worried i am mistyping a character or something?
hi, i am a first time ubuntu user. i am running 10.04, but i haven't done anything with installing java yet
i am hoping someone can help walk me through the process here.
i downloaded the processing for linux package, and it ended up in a tmp directory. i extracted it to a folder processing-1.5.1 and i see file called processing in it, next to revisions.txt. after that i'm stuck for how to run the program.