# John Whitney Arabesque

**URL:** https://discourse.processing.org/t/john-whitney-arabesque/7781
**Category:** Project Guidance
**Created:** [January 24, 2019, 4:07am UTC](https://discourse.processing.org/t/john-whitney-arabesque/7781 "2019-01-24T04:07:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mchangxe](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@mchangxe](https://discourse.processing.org/u/mchangxe)
#### Post date: [January 24, 2019, 4:07am UTC](https://discourse.processing.org/t/john-whitney-arabesque/7781/1 "2019-01-24T04:07:45Z")

</div>

has anyone else tried to recreate the first animation in john whitney’s film “arabesque” ([https://www.youtube.com/watch?v=sQrq7S0dP54&frags=pl%2Cwn](https://www.youtube.com/watch?v=sQrq7S0dP54&frags=pl%2Cwn))? 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”:

```auto
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);
}

```

---

<div class="post-metadata">

### Author: ![JackWitherell](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jackwitherell/32/3361_2.png) [@JackWitherell](https://discourse.processing.org/u/JackWitherell)
#### Post date: [January 24, 2019, 9:29am UTC](https://discourse.processing.org/t/john-whitney-arabesque/7781/2 "2019-01-24T09:29:48Z")

</div>

Please format your code. Check the [Guidelines - Tips on Asking Questions](https://discourse.processing.org/t/guidelines-tips-on-asking-questions/2147).

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](https://discourse.processing.org/c/processing/processing-guidance) instead.
