Skip to content

feat(network): add Net Lab protocol animations - #6

Merged
MemerGamer merged 3 commits into
mainfrom
feat/network
Nov 23, 2026
Merged

MemerGamer merged 3 commits into
mainfrom
feat/network

Conversation

@MemerGamer

@MemerGamer MemerGamer commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add Net Lab (io.github.animathio.network), a deterministic clip source for ICMP ping, ARP, TCP with HTTP, DHCP DORA, recursive DNS and TTL-based traceroute.
  • Choose a single-LAN or routed preset and keyframe progress to animate labeled packets, switch floods and live ARP/MAC learning.
  • Add original vector device glyphs, usage and credits, the registry entry and a CI smoke step pinned to AniMathIO 2.3.0.

Review fixes

  • Place port labels below horizontal links and beside vertical and diagonal links. Nudge labels clear of packet pills, dots and device glyphs, including the router’s Gi0/2 label in DNS. On crowded frames a port label may briefly be hidden.
  • Show the switch MAC table by default for single-switch traceroute and annotate the server’s TTL 1 arrival during the two-leg flood.
  • Describe the routed switch’s single egress port accurately, report wrong-type enum values with the same allowed choices as invalid strings, and document the transport fields the animation omits.

Verification

  • Rust formatting, native and WASM Clippy with -D warnings, 33 native tests and the WASM package build passed. The label collision test samples every hop in all six lessons on both topologies across four canvas sizes, both panel toggles and two packet sizes.
  • The 22 registry tests, registry validation, strict index resolution and default-frame submission smoke passed.
  • AniMathIO 2.3.0 rendered 120 scenario frames across both topologies with tables on and off. Exact repeats, host-sampled keyframes, the auto-table fallback and invalid enums passed. Regenerated and inspected all seven screenshots.

Screenshots

ICMP ping ARP flood Learned ARP cache
Routed ICMP Echo Request ARP request fans out from the switch PC1 uses the learned MAC
TCP handshake DHCP DORA DNS lookup Traceroute
TCP SYN-ACK at the switch DHCP Request reaches the local LAN The authority returns a DNS answer Router forwards a probe with TTL 1

🤖 Generated with Claude Code

MemerGamer and others added 3 commits November 23, 2026 10:36
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MemerGamer
MemerGamer merged commit 24fab45 into main Nov 23, 2026
2 checks passed
@MemerGamer
MemerGamer deleted the feat/network branch November 23, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant