I want to design an interactive projection where people’s body shadows stay on the screen and become darker the longer they remain in a specific position.
- I’m using MediaPipe to detect body movements or outlines.
- I hope to create a dynamic shadow effect that “sticks” to the projection over time.
- Gradually intensify the shadow’s opacity based on how long the user stays in one spot.
Unfortunately I couldn’t find any similar tutorials online, please send me any tutorial videos or searching keywords that you think would be helpful. Thank you very much!!
Hi there,
Everything you need to make it work is encapsulated in this line of your description:
- Gradually intensify the shadow’s opacity based on how long the user stays in one spot.
That’s pretty much it!
I am attaching an example where I demonstrate a simple possible approach to make it happen.
PersistentShadow.tox (15.2 KB)
But before opening the example, I encourage you to try to analyze and imagine how you could go about implementing it yourself, as a creative exercise. Tutorials can be handy sometimes, but they take away all the fun of self-learning and experimenting
Best,
Darien