1. int x, y;
  2. double t;
  3. x = intValue(Math.sin(w1 * t + p1));
  4. y = intValue(Math.sin(w2 * t + p2));
  5.  
  6. -----> for (t = 0; t < 1.0; t + .01)
  7. {
  8. displayArray[x][y] = '*';
  9. }