The Concept Behind the Simulation
Smoking involves complex physical, psychological, and behavioral interaction patterns, including repetitive hand-to-mouth motor sequences. NoSmokingChallenge.com explores whether interactive computer graphics and vision algorithms can replicate these visual and physical interaction patterns in a purely digital environment.
By detecting hand gestures and facial proximity in real time, the simulation models the familiar mechanical sequence—picking up a virtual cigarette, bringing it toward the mouth, viewing stylized ember and smoke effects, and disposing of it in a virtual ashtray—entirely in software, without tobacco, nicotine, physical smoke, or vapor. The experience is designed for habit awareness and interactive experimentation; it does not provide nicotine, treat chemical dependence, or replace evidence-based cessation treatments.
Technological Architecture
The simulation architecture integrates browser standards with machine vision models:
- Hand Landmark Tracking: Analyzes hand landmarks to detect pinch gestures between index and middle fingers, calculating real-time spatial positioning and angle.
- Facial Landmark & Proximity Detection: Evaluates facial landmarks to determine distance relative to mouth coordinates, triggering virtual ember illumination and particle emission when proximity thresholds are reached.
- Visual Graphics & Particle Simulation: Renders animated smoke paths, ember glow states, and ashtray boundary detection for immediate graphical feedback.
- Local In-Memory Execution: Video frame analysis runs entirely in volatile local memory on the user's device. Camera frames are processed locally for the interaction and are not intentionally uploaded or stored by the application.
Transparent & Ethical Design
We prioritize technical transparency and clear communication regarding system capabilities:
- Non-Medical Classification: NoSmokingChallenge.com is an interactive digital simulation and habit-awareness demonstration. It is not an approved medical device, smoking cessation treatment, or clinical intervention, and it has not been clinically evaluated for addiction therapy.
- Free & Open Access: The simulation is freely accessible without subscription fees, paywalls, or mandatory user accounts.
- Data Minimization: The platform does not compile user profiles, record camera feeds, or retain biometric datasets.
Project Vision
The project explores the intersection of accessible web technology, computer vision, digital experimentation, and behavioral interaction. By modeling physical interaction patterns in software, NoSmokingChallenge.com demonstrates how lightweight browser technology can foster habit awareness and interactive reflection without physical consumables.