Rich Cameron – Project 0

by rcameron @ 12:45 am 13 January 2010

A. Ninety Parallel Sinusoids


Download PDF (209k)

for (int y_cnt=0; y_cnt < 90; y_cnt++)
 
{
 
  float period = 0.10;
 
  beginShape();
 
  for (int x=0; x < width; x++)
 
  {
 
    float y = 20 * sin (radians(x) / period);
 
    vertex (x - 15, y + 100 + (y_cnt * 6));
 
    period += 0.00056;
 
  }
 
  endShape();
 
}

B. Pong

Click here to play

Click here for source

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2016 Special Topics in Interactive Art & Computational Design | powered by WordPress with Barecity