# Paint program using hands or touch

**URL:** <https://discourse.processing.org/t/paint-program-using-hands-or-touch/25213>\
**Category:** Libraries\
**Created:** [November 5, 2020, 5:54pm UTC](https://discourse.processing.org/t/paint-program-using-hands-or-touch/25213 "2020-11-05T17:54:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amsbcn](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@amsbcn](https://discourse.processing.org/u/amsbcn)\
**Post date:** [November 5, 2020, 5:54pm UTC](https://discourse.processing.org/t/paint-program-using-hands-or-touch/25213/1 "2020-11-05T17:54:03Z")

</div>

Hey! I’m fairly new to processing and am trying to workout a project that I have in mind. I created a simple paint program where I can pick a color using the mouse and paint with that color in a rectangle. Now that is working fine, but I would like to be able to paint with my hands. Either on screen on which a projector projects the sketch and where I can paint on touch. Or have the webcam track my movement and paint like that. I just have no idea where to start and if the first option is even possible. Can somebody maybe advise me how the continue or what to buy(like f.e. arduino) to be able to do this? Thank so much. 🙂

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [November 5, 2020, 10:34pm UTC](https://discourse.processing.org/t/paint-program-using-hands-or-touch/25213/2 "2020-11-05T22:34:38Z")

</div>

Hi, @amsbcn Welcome to the forum.  
This is possible yes. For example, you can find tutorials about movement detection with a webcam [here](https://www.youtube.com/watch?v=ce-2l2wRqO8&ab_channel=TheCodingTrain) on Daniel Shiffman’s youtube channel. If you would like to use your phone’s camera instead, I’ve written an Android code [here.](https://discourse.processing.org/t/video-webcam-motion-detection-troubles/16153/6) Then you can transmit real-time movement data to a PC over wifi, and use a big screen with your fullscreen app running. A communication code between phone and PC you can find [here](https://discourse.processing.org/t/oscp5-for-the-apde/18402). [Here’s](https://discourse.processing.org/t/display-2-succesive-images/14966/19) a video of the movement detection with a phone. You can invent different types of brushes and so on. So there is enough stuff to start with.

---

<div class="post-metadata">

**Author:** ![amsbcn](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@amsbcn](https://discourse.processing.org/u/amsbcn)\
**Post date:** [November 6, 2020, 7:31am UTC](https://discourse.processing.org/t/paint-program-using-hands-or-touch/25213/3 "2020-11-06T07:31:17Z")

</div>

Hi Noel, thanks for taking the time to answer me. I will have a peek at the things you mentioned, but these seem like more than enough leads. Thanks! 😄
