4.2 FUNCTION TREE - W-Div-Engg-Exploration-Odd-2026-27/Repo-11 GitHub Wiki
graph TD
Root["Smart Person-Tracking Desk Fan"]
%% Level 1
C1["1. Sense & Track"]
C2["2. Control Motion"]
C3["3. Deliver Comfort"]
C4["4. Power & Logic"]
Root --> C1
Root --> C2
Root --> C3
Root --> C4
%% 1. Sense & Track Leaves
C1 --> S1["Detect User<br>(Camera)"]
C1 --> S2["Measure Distance<br>(ToF)"]
C1 --> S3["Recognize Gestures<br>(TinyML)"]
%% 2. Control Motion Leaves
C2 --> M1["Pan Rotation<br>(Yaw - 360°)"]
C2 --> M2["Tilt Elevation<br>(Pitch)"]
C2 --> M3["Maintain Angle<br>(Encoders)"]
%% 3. Deliver Comfort Leaves
C3 --> F1["Generate Airflow<br>(Blower)"]
C3 --> F2["Multiply Air<br>(Airfoil Loop)"]
C3 --> F3["Atomize Water<br>(Piezo Mist)"]
C3 --> F4["Dampen Noise<br>(Helmholtz)"]
%% 4. Power & Logic Leaves
C4 --> P1["Convert Voltage<br>(12V to 5V/3.3V)"]
C4 --> P2["Execute Code<br>(ESP32-S3)"]
C4 --> P3["Manage Standby<br>(Sleep Mode)"]
%% Visual Styling
classDef rootStyle fill:#1b60aa,stroke:#103e73,stroke-width:2px,color:#fff,font-weight:bold;
classDef catStyle fill:#ffffff,stroke:#1a5697,stroke-width:2px,color:#000,font-weight:bold;
classDef leafStyle fill:#e5e5e5,stroke:#777777,stroke-width:1px,color:#111;
class Root rootStyle;
class C1,C2,C3,C4 catStyle;
class S1,S2,S3,M1,M2,M3,F1,F2,F3,F4,P1,P2,P3 leafStyle;