Dude, Where's the Timeline? This Sucks… / Awesome! A Flash Killer!
We're not targeting the same audience Flash. If we wanted to make a Flash killer, we'd have set out to do that and our stated purpose would have been more specific.....see: http://wiki.processing.org/w/FAQ
So we will explore PROCESSING.....
http://www.processing.org/
take a look at the tutorials, under the tab learning, explore
Coordinate System and Shapes
the array examples in the Processing Programming Window
then
Two-Dimensional Arrays
and start with learning to draw
Overview
then start programming yourself!
Since we have collected data this week, we need to know what an array is and how to plot this array using the most simple techniques of making a line......
This is my very first masterpiece: landscaping by lines:
void setup() {
size(320, 240);
background(176);
stroke(10);
line(5,5, 315, 5);
line(315, 5, 315, 235);
line(315, 235, 5, 235);
line(5 , 235, 5,5);
}
void draw() {
for (int i = 5; i < 315; i+=6) { float cosWave = 50* cos(float(i)/20*PI); line(i, 160, i, 160 - i/3 ); line(i+ 2, 80, i+2, 80 + i/3 ); line(i+ 4, 80, i+4, 160 -cosWave ); } } 
Aucun commentaire:
Enregistrer un commentaire