# \[GIF\] Running in Place (String art animation)

**URL:** <https://community.wolfram.com/t/gif-running-in-place-string-art-animation/8919>\
**Category:** Staff Picks\
**Tags:** computational-arts, geometry, graphics-and-visualization, interface-construction, staff-pick\
**Created:** [July 16, 2016, 5:41pm UTC](https://community.wolfram.com/t/gif-running-in-place-string-art-animation/8919 "2016-07-16T17:41:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![claytonshonkwiler](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/claytonshonkwiler/32/24940_2.png) [@claytonshonkwiler](https://community.wolfram.com/u/claytonshonkwiler)\
**Post date:** [July 16, 2016, 5:41pm UTC](https://community.wolfram.com/t/gif-running-in-place-string-art-animation/8919/1 "2016-07-16T17:41:38Z")

</div>

![shapeshifter14centered.gif](https://global.discourse-cdn.com/wolfram/original/2X/9/93c38c1912dd92351a5c685fe666855af8ddfd6d.gif)

**Running in Place**

Continuing to use essentially the same code as in [_Reversible_](https://wolfram.discourse.group/t/8888/1) , [_Come Back_](https://wolfram.discourse.group/t/8198/1) , and [_Transition_](https://wolfram.discourse.group/t/8187/1) , namely:

```
DynamicModule[{n = 6, k = 1, j = 3, r, cols, verts},
 cols = RGBColor /@ {"#F9A1BC", "#A9EEE6", "#625772"};
 Manipulate[
  r = Cos[s];
  verts = 
   Table[(1 - r (-1)^(i + 1)) ReIm[
      E^(I (2 ? i/n - ? r/n + ?))], {i, 0, n - 1}];
  Graphics[{Thickness[.004], CapForm["Round"], 
    Opacity[1/3 + 1/6 Haversine[2 s]], 
    Table[{Blend[cols[[;; 2]], t], 
        Line[{t verts[[i]] + (1 - t) RotateRight[verts, j][[i]], 
          t RotateLeft[verts, k][[i]] + (1 - t) RotateLeft[verts, 
              k + 1][[i]]}]}, {i, 1, n - 1, 2}, {t, 0, 1 - #, #}] &[
     1/40]}, PlotRange -> 2.5, ImageSize -> 540, 
   Background -> Last[cols]], {s, 0, ?}]
 ]

```

---

<div class="post-metadata">

**Author:** ![wolframcommunity](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/wolframcommunity/32/8335_2.png) [@wolframcommunity](https://community.wolfram.com/u/wolframcommunity)\
**Post date:** [July 18, 2016, 7:13pm UTC](https://community.wolfram.com/t/gif-running-in-place-string-art-animation/8919/2 "2016-07-18T19:13:44Z")

</div>

![2015-11-02_10-07-11.png](https://global.discourse-cdn.com/wolfram/original/3X/5/0/50e59c9ead62f729e7130d3ea1482555a75602b6.png)

- another post of yours has been selected for the [Staff Picks](http://community.wolfram.com/content?curTag=staff+picks) group, congratulations !

We are happy to see you at the top of the [“Featured Contributor” board](http://wolfr.am/featured). Thank you for your wonderful contributions, and please keep them coming!
