view June/processingD1/processingD1.pde @ 114:e57832817def

scene demo: working on increasing the number of sources to have 200 evenly spaced sound sources over the wire. Massive zipper noise coming when control signal from the Unity engine arrives in PD. Might be worth looking at smoothing the control data in some form to decrease this - change the control to signal early, average previous 4 / 5 signals or similar tactic.
author Rod Selfridge <r.selfridge@qmul.ac.uk>
date Thu, 30 Jul 2015 12:28:59 +0100
parents 819d71fa7fac
children
line wrap: on
line source
// Example 05-02 from "Getting Started with Processing" 
// by Reas & Fry. O'Reilly / Make 2010

int position;

void setup() {
  size(1420, 900);
  background(128);
  position = 0;
}

void draw() {
  background(128);
  fill(0);      // fill changes the color of the interior of the shape
  noStroke();   // noStroke removes the outer line

  // Does position represent the horizontal or the vertical location?
  ellipse(80.5, 100.5, 30, 30);
  ellipse(1080.5, 150.5, 30, 30);
  ellipse(620.5, 650.5, 30, 30);

}