Ejemplo n.º 1
0
    public void render() {
      if (!done || previous_w != width || previous_h != height) {
        // update sim
        done = !sm.step(seconds(16));
      }

      background(color(255, 255, 255));
      cp.push();
      rm.render();
    }
Ejemplo n.º 2
0
 static void search(double seconds) {
   Music.status = "searching";
   Simulator.nextSearchComplete = Simulator.schedule(seconds);
 }