Core Algorithm Demo

Simple Depth Assignment

Level classes applied by DOM depth
No complexity, just core functionality

Algorithm Steps

1. Traverse DOM tree
2. Count depth level
3. Apply .level-X class
Z = Level × Spacing

Controls

Level Analysis:
Formula: Z = Level × Spacing