# \#codecember 2020 #day6

**URL:** <https://discourse.processing.org/t/codecember-2020-day6/26470>\
**Category:** Gallery\
**Created:** [December 23, 2020, 12:25pm UTC](https://discourse.processing.org/t/codecember-2020-day6/26470 "2020-12-23T12:25:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CodeMasterX](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/codemasterx/32/2942_2.png) [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Post date:** [December 23, 2020, 12:25pm UTC](https://discourse.processing.org/t/codecember-2020-day6/26470/1 "2020-12-23T12:25:53Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/9/91887b95a4e6919ef8e6f75c2b285732779df164.png)

```auto
int n = 10,cx=300,cy=300,scl = 10;
ArrayList<Float> len = new ArrayList<Float>();
ArrayList<Float> speed = new ArrayList<Float>();

void setup() {
  size(600,600);
  for(int i = 0; i < n; i++) {
    len.add(random(TWO_PI));
    speed.add(random(0.01,0.1));
  }
}

void draw() {
  background(0);
  stroke(255);
  strokeWeight(10);
  noFill();
  for(int i = 0; i < n; i++) {
    arc(cx, cy,(i+1.5)*scl*5, (i+1.5)*scl*5, frameCount*speed.get(i), frameCount*speed.get(i)+len.get(i));
  }
}

```
