# The colors of the markers behave strangely?

**URL:** <https://discourse.processing.org/t/the-colors-of-the-markers-behave-strangely/10670>\
**Category:** Libraries\
**Created:** [April 26, 2019, 5:19pm UTC](https://discourse.processing.org/t/the-colors-of-the-markers-behave-strangely/10670 "2019-04-26T17:19:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkxxbdm](https://avatars.discourse-cdn.com/v4/letter/k/b5a626/32.png) [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Post date:** [April 26, 2019, 5:19pm UTC](https://discourse.processing.org/t/the-colors-of-the-markers-behave-strangely/10670/1 "2019-04-26T17:19:25Z")

</div>

I was playing around with the simulation of the markers’ movement on a given unfolding map. I did not figure it out yet. Meanwhile, I got a question about the colors of the markers. Please see the following picture.  
My question is, why is the trace “movement” of color black? I thought it’s supposed to have color red. Am I wrong?

 ![Screenshot%20from%202019-04-26%2019-02-43](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/de000413a1f083c59c48b45520b7e6924711b2b3.png)

---

<div class="post-metadata">

**Author:** ![humayung](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/humayung/32/6089_2.png) [@humayung](https://discourse.processing.org/u/humayung)\
**Post date:** [April 26, 2019, 7:07pm UTC](https://discourse.processing.org/t/the-colors-of-the-markers-behave-strangely/10670/2 "2019-04-26T19:07:43Z")

</div>

it could be nicer, if we can see the code clearly.  
post it in formatted text `</> code tag`

---

<div class="post-metadata">

**Author:** ![zenemig](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/zenemig/32/4418_2.png) [@zenemig](https://discourse.processing.org/u/zenemig)\
**Post date:** [April 27, 2019, 1:00am UTC](https://discourse.processing.org/t/the-colors-of-the-markers-behave-strangely/10670/3 "2019-04-27T01:00:24Z")

</div>

I cant test it right now, and don’t have expierence using these libraries, but I think the marker have a default gray stroke, and the minimun movement you’re setting is not enougth to see the marker under.

As I see [here](http://unfoldingmaps.org/tutorials/markers-simple) ther’s a function to set the stroke color, something like:

`map.setStrokeColor(color(255,0,0,100));`

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [April 30, 2019, 12:48am UTC](https://discourse.processing.org/t/the-colors-of-the-markers-behave-strangely/10670/4 "2019-04-30T00:48:57Z")

</div>

I hope you were able to resolve this issue.

Please do not post screenshots of code – cut-paste the code and format with the code formatting button (`</>`). Then others can try to run your code and give better feedback.
