Tracking the fire hose to my hands.

As part of the simulator. I wanted the fire hose to track the user’s hands and subsequently shoot “water”, more like “Particles” that we saw from the class example.

Screenshot 2024-04-26 at 9.09.01 PM.png

Screenshot 2024-04-26 at 9.09.33 PM.png

Evidently, while it is able to track. The positioning of the fire hose with respect to the user’s hands is very off. I had to adjust the positioning of the fire hose to align it better with the users hands.

Screenshot 2024-04-26 at 9.13.42 PM.png

Much better. My lamp is on fire.

https://editor.p5js.org/Dames19/sketches/wsOFPPdrJ

Here’s my code progress. I will not change the name of it. I like it.

Fire looks too like fire

I did not really like the Fire image that i was using. It looked too weird and clunky in my opinion. Especially for children. So i replaced it with

fire.gif

While the fire looks less scary, I think it is visually more coherent with the game. At least it doesn’t look as clunky.

If there is fire, there has to be water.

To add some level of additional engagement, I did not want the water to just shoot out from the players hands. Instead i wanted there to be a trigger. This will simulate the squeezing of the trigger found on the fire hose.

Screenshot 2024-04-26 at 9.22.53 PM.png

Screenshot 2024-04-26 at 9.23.29 PM.png

In this case, i am tracking my the distance between the tip of my index finger and my thumb. Clenching them will trigger the particle effect shooting out of the hose. Emulating water coming out of the hose.

Screenshot 2024-04-26 at 10.04.22 PM.png

I am happy with the progress