# How to create the code of the following video effect?

**URL:** <https://discourse.processing.org/t/how-to-create-the-code-of-the-following-video-effect/5999>\
**Category:** Libraries\
**Tags:** homework\
**Created:** [November 27, 2018, 4:16pm UTC](https://discourse.processing.org/t/how-to-create-the-code-of-the-following-video-effect/5999 "2018-11-27T16:16:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malvan](https://avatars.discourse-cdn.com/v4/letter/m/d26b3c/32.png) [@Malvan](https://discourse.processing.org/u/Malvan)\
**Post date:** [November 27, 2018, 4:16pm UTC](https://discourse.processing.org/t/how-to-create-the-code-of-the-following-video-effect/5999/1 "2018-11-27T16:16:51Z")

</div>

Hello there! I was searching through the internet to find anything useful regarding to one of my school projects.

I want to create something like this: [https://vimeo.com/8218843](https://vimeo.com/8218843)

The problem is, I don’t really know where to start.  
I know i maybe should use green-screen for this ‘installation’. I would use the webcam of my laptop as the source of the video, so I already downloaded the related libraries (hopefully).  
But besides these, i don’t really have any clue about how to start it 😕

I’m kind of new to processing, so sorry for being newbie, but I really want to do this project.

---

<div class="post-metadata">

**Author:** ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)\
**Post date:** [November 27, 2018, 6:31pm UTC](https://discourse.processing.org/t/how-to-create-the-code-of-the-following-video-effect/5999/2 "2018-11-27T18:31:30Z")

</div>

It looks like they are using the brightness of a pixel as that pixel’s transparency, and then just drawing the next frame over the previous one.

---

<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:** [December 5, 2018, 3:07am UTC](https://discourse.processing.org/t/how-to-create-the-code-of-the-following-video-effect/5999/3 "2018-12-05T03:07:50Z")

</div>

Continued here: [How to create the code of the following video effect?](https://discourse.processing.org/t/how-to-create-the-code-of-the-following-video-effect/6113)
