# Help with noise to animate

**URL:** <https://discourse.processing.org/t/help-with-noise-to-animate/27801>\
**Category:** Processing.py\
**Created:** [February 13, 2021, 5:19pm UTC](https://discourse.processing.org/t/help-with-noise-to-animate/27801 "2021-02-13T17:19:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laygos](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@Laygos](https://discourse.processing.org/u/Laygos)\
**Post date:** [February 13, 2021, 5:19pm UTC](https://discourse.processing.org/t/help-with-noise-to-animate/27801/1 "2021-02-13T17:19:19Z")

</div>

Using Processing 3 in Python mode, I’m unable to get my ellipse to animate.  
\</  
Xoff = 0

def setup():  
size(800,900)

def draw():  
global Xoff

```
background(0)
x = map(noise(Xoff),0,1,0,width)

ellipse(x,200,50,50)

x += 0.1

```

> 

following the 2nd part of the noise tutorial by the coding train

[![](https://img.youtube.com/vi/YcdldZ1E9gU/maxresdefault.jpg "Noise vs Random in p5.js") ](https://www.youtube.com/watch?v=YcdldZ1E9gU)

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [February 13, 2021, 7:09pm UTC](https://discourse.processing.org/t/help-with-noise-to-animate/27801/2 "2021-02-13T19:09:53Z")

</div>

> [@Laygos](#):
>
> `x += 0.1`

`Xoff += 0.1`

> <https://github.com/CodingTrain/website-archive/blob/main/learning/noise/0.3-noise-vs-random/P5/sketch.js>

---

<div class="post-metadata">

**Author:** ![Laygos](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@Laygos](https://discourse.processing.org/u/Laygos)\
**Post date:** [February 14, 2021, 4:34pm UTC](https://discourse.processing.org/t/help-with-noise-to-animate/27801/3 "2021-02-14T16:34:16Z")

</div>

🤦‍♂️🤦‍♂️🤦‍♂️ my friend… Thank you so much… That sorted everything out.
