# Animating spiral

**URL:** <https://discourse.processing.org/t/animating-spiral/35056>\
**Category:** Coding Questions\
**Tags:** homework\
**Created:** [February 8, 2022, 11:47pm UTC](https://discourse.processing.org/t/animating-spiral/35056 "2022-02-08T23:47:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prokyovec](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/prokyovec/32/15647_2.png) [@Prokyovec](https://discourse.processing.org/u/Prokyovec)\
**Post date:** [February 8, 2022, 11:47pm UTC](https://discourse.processing.org/t/animating-spiral/35056/1 "2022-02-08T23:47:23Z")

</div>

Hey Everyone! I am a beginner in Processing and I have a homework to do which has to be done till friday xdd The point is I dont know what to do and I need your help :d  
Here is the final result how it should look like.

[https://youtu.be/zzVA6kvAnLo](https://youtu.be/zzVA6kvAnLo)

The point starts at a random position on the screen.  
The point color is initially randomly selected from an interval around a hue value.  
The closer the point is to the center, the smaller it is drawn. It has a size of 20 pixels at the edge of the screen, 1 in the middle of the screen.  
When the point reaches the center, it disappears and a new random point is created somewhere on the screen. (Or its properties are reset to look like new)
