# Agnostic Transparencies

**URL:** <https://discourse.processing.org/t/agnostic-transparencies/22997>\
**Category:** Coding Questions\
**Created:** [August 2, 2020, 4:39pm UTC](https://discourse.processing.org/t/agnostic-transparencies/22997 "2020-08-02T16:39:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Aleksi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/aleksi/32/11065_2.png) [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Post date:** [August 2, 2020, 9:06pm UTC](https://discourse.processing.org/t/agnostic-transparencies/22997/4 "2020-08-02T21:06:43Z")

</div>

Thanks, @kfrajer, most grateful! 😀

I didn’t know about the first hint, thanks for sharing it, as well as the links.

I mostly care about the `PShapes`; the spheres were used for illustration purposes. But I was interested to see if the spheres were affected by the surface’s colors.

Here’s a gif of the original with the new hint:

![TransparencyTest.2](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/f/f32cb68ca86d5802881da10764014c1c3fb1c9a4.gif)

Here’s a gif where I make both surfaces red (though they don’t seem like the same color due to the [simultaneous contrast](https://www.colorduels.com/what-is-simultaneous-contrast/) of their frames:

![TransparencyTest.3](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/0/013a3f1682882e52da8240e098fc8ea96de201e8.gif)

Seems the spheres use a different shading strategy…

Thank you again! Life can now continue…

Adding a couple more pertinent links Kf’s links led to:

- [Program to test hint() with transparency](https://discourse.processing.org/t/program-to-test-hint-with-transparency/4361) (excellent forum post)
- [hint()](https://processing.org/reference/hint_.html) (processing ref doc)

---

_[View the full topic](https://discourse.processing.org/t/agnostic-transparencies/22997)._
