How nawids/trinity works
This is a small browser clock display: trinity.js reads the current time, formats its four digits, renders digit-image references into the page, and schedules another update every second. The source excerpt supports those runtime relationships, but the HTML and CSS were not sampled, so their roles and connections are not asserted. The referenced PNG assets are not listed in the supplied tree.
Main entry points: trinity.js Clock logic · images Digit images
Components 3
Other components
- Clock logic
trinity.js - Digit display
trinity.js - Digit images
images
Connections 3
- Clock logic → Digit display: updates DOM
trinity.js - Digit display → Digit images: references images
trinity.js - Clock logic → Clock logic: schedules update
trinity.js