John Whitney Arabesque

has anyone else tried to recreate the first animation in john whitney’s film “arabesque” ( im stuck on getting the second motion (from 1:21 to roughly 1:26) any ideas?

currently im following whitney’s own instructions from his book “digital harmony”:

for (int i=0; i<npoints; ++i) {
      a = -90 + 360* i/npoints;
      r = 3*radius;
      x = cos(a*DEG) * radius + i*step*r;
      x = xcenter - r/2 + round((x+r/2)%r);
      y = ycenter - sin(a*DEG) * radius;
      ellipse(round(x), round(y), 4, 4);
1 Like

Please format your code. Check the Guidelines - Tips on Asking Questions.

Also I’m not sure if you are asking a particular question about coding or not. You might want to put this in Project Guidance instead.