# Reflect color of one object to another object through cursor position

**URL:** <https://discourse.processing.org/t/reflect-color-of-one-object-to-another-object-through-cursor-position/29888>\
**Category:** Coding Questions\
**Created:** [May 5, 2021, 2:05pm UTC](https://discourse.processing.org/t/reflect-color-of-one-object-to-another-object-through-cursor-position/29888 "2021-05-05T14:05:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [May 5, 2021, 7:56pm UTC](https://discourse.processing.org/t/reflect-color-of-one-object-to-another-object-through-cursor-position/29888/3 "2021-05-05T19:56:09Z")

</div>

read this good start

[https://processing.org/examples/lineargradient.html](https://processing.org/examples/lineargradient.html)

---

_[View the full topic](https://discourse.processing.org/t/reflect-color-of-one-object-to-another-object-through-cursor-position/29888)._
