# How can I create a walker with a finite trail?

**URL:** <https://discourse.processing.org/t/how-can-i-create-a-walker-with-a-finite-trail/41674>\
**Category:** Coding Questions\
**Created:** [April 10, 2023, 5:28pm UTC](https://discourse.processing.org/t/how-can-i-create-a-walker-with-a-finite-trail/41674 "2023-04-10T17:28:56Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [April 12, 2023, 11:09am UTC](https://discourse.processing.org/t/how-can-i-create-a-walker-with-a-finite-trail/41674/7 "2023-04-12T11:09:32Z")

</div>

> [@Mikey83](#):
>
> I know its a float issue but would be nice to have a clean solution

Related topic:

> [@Fade Effect - What's with the ghost?](https://discourse.processing.org/t/fade-effect-whats-with-the-ghost/18891):
>
> My intention is to create a fade effect for thousands of shapes on the canvas (They appear, and then fade into blackness). This is the solution I came up with, and have found other people using. void draw() { fill(0, 10); rect(0, 0, width, height); } The problem is that the shapes never fade away completely. The lower the alpha (slower the fade), the brighter the ghost that is left behind. Here’s a sample sketch that illustrates my problem. Click to mouse to create more ellipses. Can…

I did suggest using an _ArrayList_ and provided links and a _very minimal example_ to inspire.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/how-can-i-create-a-walker-with-a-finite-trail/41674)._
