Torchlight
- Timeline
- < 24 hours | October 2025
- Role
- Design Engineer
- Status
- Hackathon build
- Tags
- Tooling, Data Visualization
Torchlight is a web-based data visualization tool that helps students debug machine learning models. Named after both a literal torchlight that illuminates a dark path and PyTorch, the library behind the models it visualizes, Torchlight displays metrics and graphs, and lets you step through your model to watch them change in real time.
The Challenge
Machine learning models are incredibly information-dense. For students, the visuals have to be easy to read, especially when it comes to pinpointing where overfitting or unexpected results begin. We had 24 hours to make that happen, so every feature had to earn its place.
Three Problems, Three Answers
Information density
Make the model tangible
A model has a variable number of layers, each with its own weights, biases, kernels, batch sizes, and more.
- Layer Visualizer
- A sandbox that turns architecture into shapes. Squares are layers, circles are numeric factors like weights and biases, and ovals are applied algorithms, all linked by flow arrows, with zoom and pan controls.
- Metric Overview
- The essentials come first: computation time, input shape, and output shape.
Constant change
Make the visuals evolve too
Layers feed into each other, and metrics like validation and testing accuracy shift every epoch. Models evolve, so the visuals have to evolve with them.
- Convolutional Layer View
- For image-based models, a carousel shows the current layer between the ones before and after it, so students can watch images transform.
- Animated Data Flow
- Dotted-line animations show data feeding from one layer into the next.
Disconnection
Link structure to behavior
For first-timers, the gap between the math and a working model is a barrier, and it’s hard to tell where a variable starts to help or hurt performance.
- Node Debugger
- A scrubber steps through the model while a live bar chart tracks changing weights, biases, and accuracies.
- Hover Statistics
- Hovering over a bar reveals exact values for quick comparisons without clutter.
Key Design Decisions
- Mid-fi first, fast
- I went straight to Figma for a quick mock dashboard, a kind of digital whiteboard to test layouts, color, typography, and where each piece of information should live. It became the blueprint for both the design and the backend connection.
- A dark-mode IDE on purpose
- The purple-black-blue palette mimics the code editors students already spend hours in. It keeps the environment familiar and gives bright metric colors strong contrast. Swappable color palettes let users adjust the view, which is key for any scientific visualization.






From Figma to React
Implementation: scoping for a 24-hour sprint and object-oriented programming
The engineering part of the “design engineer” job meant interpreting our object class data, also known as object-oriented programming (OOP). Our backend engineers transformed PyTorch tensors into Python object classes, making it easy to access and visualize certain variables.
We also adapted our implementation from graph theory: Node class objects held layer information, and Edge class objects held the connections to other layers.
Visualizing these meant connecting class instances (the objects holding data) to React components, something that can actually be rendered on a dashboard. I mapped Node objects to square layers containing text of all their attributes, and had the Edge objects connect each layer visually via dotted-line flow animations (a microinteraction), making the connections clear.
Final Dashboards
The homescreen for the tool: open recent models on the left, zoom in and out and click for details in the sandbox, and take a look at metrics on the right.

A deeper dive into your models: compare different ones against each other.

Do a deep dive into one specific layer: see its optimizations, inputs, outputs, and even its activation map.

01 / 03