Please click here
Just keep on the key pressing for more results.
Thursday, July 31, 2008
Homework 4 (Gillian)
HW4-KDP
Link to HW4
An expansion on my previous day's work included cleaning up my code a little and adding in keyboard controls for both color and animation speed. If the controls don't work - please make sure you click inside the Processing animation window and then try to press a button, otherwise it doesn't recognize your keyPress. Thanks.
==CONTROLS==
'r' or 'R' = sets fill color to Red
'g' or 'G' = sets fill color to Green
'b' or 'B' = sets fill color to Blue
Up Arrow = frame rate is 120 fps
Down Arrow = frame rate is 30 fps
I just saw Danny's comments regarding random color generation for my previous assignment, if I have some free time later I'll include a keyboard control for that as well.
An expansion on my previous day's work included cleaning up my code a little and adding in keyboard controls for both color and animation speed. If the controls don't work - please make sure you click inside the Processing animation window and then try to press a button, otherwise it doesn't recognize your keyPress. Thanks.
==CONTROLS==
'r' or 'R' = sets fill color to Red
'g' or 'G' = sets fill color to Green
'b' or 'B' = sets fill color to Blue
Up Arrow = frame rate is 120 fps
Down Arrow = frame rate is 30 fps
I just saw Danny's comments regarding random color generation for my previous assignment, if I have some free time later I'll include a keyboard control for that as well.
homework day 4
At first my code was long and made no sense at all, but it still ran as it looks now except that it had no motion. So it took me some time to understand that a script did not have to have all the codes I've learnt so far. :) Of course... Today, I am still struggling with the motion and some of the variables, but thanks to your help Joe I finally have a better notion of when it comes moving elements on the screen and the basic structure of code. Here is assignment day 4:
http://a.parsons.edu/~diabn122/public_html/bootcamp/day4_code/index.html
and here is a video Joe suggested I posted. It is a thesis that, if I am correct, is still in the making; by a Phd student in Computational Arts at Goldsmiths, University of London. Hope you all like it. It's beyond my comprehension and I am in awe! TRULY!
test
type="application/x-java-applet"
archive="sketch_hw2a.jar"
width="300" height="300"
standby="Loading Processing software..." >
codebase="http://java.sun.com/update/1.4.2/jinstall-1_4_2_12-windows-i586.cab"
width="300" height="300"
standby="Loading Processing software..." >
This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.
Homework2_rohini
Darcy Wang-Hw3
Homework_03 from Danny Chang
Wednesday, July 30, 2008
HW3-KDP
Link to HW3
Here's the animation I put together, it incorporates a couple different concepts and the code itself is fairly dynamic (ellipse origin and size are based on stage width and height expressed as the built-in variables). Fill opacity is linked to the scale of the ellipse, and the fill color changes based on whether it's "growing" or "shrinking". Using conditional statements, once it "grows" to the bounds of the stage, it switches to "shrinking" until it reaches a scale of 0, and then it switches back to growing, therefore the endless loop is built in.
Here's the animation I put together, it incorporates a couple different concepts and the code itself is fairly dynamic (ellipse origin and size are based on stage width and height expressed as the built-in variables). Fill opacity is linked to the scale of the ellipse, and the fill color changes based on whether it's "growing" or "shrinking". Using conditional statements, once it "grows" to the bounds of the stage, it switches to "shrinking" until it reaches a scale of 0, and then it switches back to growing, therefore the endless loop is built in.
Homework 2 (Gillian)
Homework 3 - Erica Osher
animation example
int x;
void setup() {
x= 0;
}
void draw() {
//background(0);
x++;
ellipse(50, 50, x, x);
if(x > 105) {
x = -5;
}
}
Darcy Wang-Homework7/29
HW2 - KDP
Pretty basic, just went through the exercise and wanted to explore the different strokeCap, strokeWeight, some fill and alpha options that we didn't get to cover in class as much.
Link to HW2
HelenaWong HOMEWORK2
Homework_02 from Danny Chang
Oh well... after a long night.... here is something i created with processing for the homework. I realized Processing is extremely easy to learn comparing with other programming languages. The logics from other programming languages can be easily applied to Processing. It's fun if i can spend more time on it, also i can't wait to learn all the logical commands. I really do think Processing can be a handy tool for brainstorming and quick sketch before applying to any other "strict structured" programming languages.
Tuesday, July 29, 2008
How to post homework to the blog:
- take a screen shot of your final product
- click the "run button" in processing
- IF PCuse
print scrn
button (it's on your keyboard)
ELSE IF MAC hit ctrl-shift-4 select the screen area to grab - IF PC open image editor paste image into a new file
ELSE IF MAC find image on desktop and open image in an image editor - crop image as needed
- resize image to 200 X 200
- Export from processing
- Go back to processing
- hit the export button in Processing.
- Note the location of the folder that is created.
- Upload the folder to your a server account
- Open your FTP program.
- Login to your newschool account.
- Navigate to public_html folder on the server.
- Create a folder called "processing" (or some similar name).
- upload the folder created by processing upon export.
- Once the folder is uploaded give it a unique name (you can name it homework1 or 2 or whatever homework number it is *make sure there are NO spaces in the name)
- Link to the index.html file in your blog post.
- Goto blogger.com and login.
- create a new post
- add your homework screen shot with the add image button (it looks like a small picture of a mountain)
- once image is in place add a link to the index.html file in the folder on the server. The link will be something like: http://a.parsons.edu/~username/processing/homework2/index.html
- write whatever you like about your homework. You could just write the assignment out so people know what motivated you to create your beautiful work of art.
- click publish, your done.
Subscribe to:
Posts (Atom)