
This project creates an interactive visual effect where smoke particles are emitted from the eyes and mouth when the mouth is opened.
This project creates an interactive smoke emission effect using Facemesh. When the user opens their mouth, smoke particles are emitted from both eyes and the mouth, with a looping fire burning sound. The mouse position controls the horizontal wind direction, allowing the smoke to drift left or right in real time. Meanwhile, the particle emitters are attached to facial landmarks, so when the user moves their head, the smoke follows their facial movement.
It detects the left eye, right eye, and lips, then calculates the mouth opening by measuring the distance between upper and lower lip points. If the mouse and head are in different directions, the smoke still emits from the detected face points and bends toward the mouse direction, producing fluid and organic trails.
The example I referred to is:
https://p5js.org/examples/math-and-physics-smoke-particle-system/

Demo:
https://drive.google.com/file/d/162nvwghO1iozyhF7nOmEsEE1DjlX0Dnj/view?usp=sharing