Network protocols are easier to learn when you can watch a packet move, pause the sequence, and inspect the bytes that caused the next event. That is the idea behind Protocol Explorer: a browser based learning workspace that turns protocol lessons into synchronized device scenes, packet events, and explanations.
The important engineering choice was not “make it 3D.” It was to make the visual story traceable to structured lesson data. A router animation is only useful if the learner can ask: which packet is this, which step are we on, and what does this field mean?
The scene is a view of lesson data
The current workspace is implemented in React with original isometric SVG devices. The visual network is assembled from laptops, routers, switches, servers, cameras, and a network cloud. These are not video frames. A lesson provides ordered steps and events; the workspace renders the relevant devices and packet paths for the selected step.
That separation matters. Playback, route selection, node layout, and address updates live in pure functions under lib/learning/. They can calculate what should happen without depending on the DOM or a database. React then presents that state and handles user input. If the learner changes steps, the interface can derive the scene again instead of trusting a pile of animation side effects.
The course facts are also kept outside the old upstream bundle. The data set has 39 protocol courses and 231 stable step positions. There are 557 illustrative packet fixtures. The stable positions are useful because progress and links can keep pointing to the same lesson step as the interface changes.
A packet should be inspectable, not decorative
The packet inspector lets a learner select a packet field or byte range and view hexadecimal and ASCII representations. Captures include field names, offsets, and numeric values. Some bytes are intentionally unknown or encrypted. Those render as ??; the interface does not invent plaintext for ciphertext.
This keeps the animation honest. A packet moving from a client to a router is a teaching model. The bytes shown in the inspector are an illustrative fixture, not a promise that every on-screen exchange is a live capture from a production network. Keeping that distinction visible is better than implying more fidelity than the data supports.
The learning loop
Each lesson is broken into steps. Playback advances events in order; a learner can pause, restart, move backward or forward, or jump directly to a step. The scene and the step explanation change together. Reduced motion suppresses animation while preserving step controls, and a hidden page pauses the animation clock.
The experience also has a useful fallback: the explanation remains textual. A diagram may make a route easier to follow, but it cannot be the only place where the lesson exists. Screen readers, reduced-motion users, mobile layouts, and someone reading a copied explanation all benefit from that rule.
What I learned building it with AI
For this project, Opus 5.5 and Gemini 4 Neon took roughly 40 minutes to an hour to produce a strong 3D result. GLM 5.4 Max took around four hours, and the result was also good. The version people can see today was built with GLM 5.4 Max. Those are observations from this build, not a controlled benchmark: task framing, iteration count, codebase context, and visual criteria all affect the time.
My takeaway is that model capability and production speed are separate questions. A model can produce an appealing scene quickly, while the work of making lessons stable, inspectable, accessible, and compatible with progress links remains. The educational value comes from connecting visuals to explicit facts and state, not from the render alone.
Protocol Explorer is still an evolving learning product. Its packet fixtures are illustrative, and the scene is a teaching model. But the core pattern is reusable: represent the lesson as data, derive deterministic state from it, and make every visual event explainable in text.
A concrete example of the boundary
Imagine a lesson step that explains a request passing from a client through an intermediary toward a server. The scene needs to know which endpoints are visible, which route segment is active, and which packet label belongs to the current event. The explanation needs to name the transition. The inspector needs to open the matching packet fixture. These are three views of the same lesson moment, so they should share a stable packet reference rather than independently guessing which item is current.
This is also why a packet list is useful alongside the animation. A learner can select an earlier packet after playback has moved on. The selected packet does not rewrite the lesson state; it changes what the inspector focuses on. Separating playback selection from inspection selection avoids a subtle usability problem: browsing data should not accidentally restart the scene or mark a different step complete.
For course authors, structured data creates an explicit review surface. A reviewer can check the event order, inspect the referenced packet, and read the matching explanation. That is more work up front than drawing a sequence once, but it helps when the course expands or when a translation needs to preserve the same technical meaning.
Things I would measure next
The implementation gives us observable interaction points, but it does not by itself tell us whether learners understand more. A useful next evaluation would compare learners’ ability to explain a route or identify a field before and after a lesson, while recording whether they used playback, text, or the inspector. We would also need to compare against a text-only lesson with equivalent content, not against an unrelated baseline.
I would avoid treating time-on-page as learning. Someone who pauses for ten minutes may be carefully checking a field or may simply have walked away. Better questions include whether the learner can predict the next hop, distinguish an address from a port, or explain why a particular field is visible in one packet and not another. Those are outcomes a course can define and review.
Accessibility needs evaluation too. Reduced motion and keyboard controls are implementation features, but only actual use can show whether the controls are discoverable and whether the textual pathway carries enough context. A visualization is more inclusive when it does not assume that every learner prefers motion, color, or spatial diagrams.
This is why I describe the project as a visual learning workspace rather than a proven faster-learning method. The first claim is visible in the product. The second needs evidence. Keeping that distinction clear makes the product easier to trust and gives us a better roadmap for research. Protocol Explorer
Top comments (0)