This roadmap defines the execution plan for delivering CNN Visualizer V1 from baseline setup to production deployment.
The plan is organized into sequential phases with explicit deliverables, dependencies, and exit criteria to reduce integration risk.
- Deliver functional vertical slices early (drawing -> inference -> output).
- Keep architecture modular from day one to avoid costly refactors.
- Validate runtime correctness before visual polish.
- Protect performance and memory safety throughout implementation.
- Keep deployment pipeline operational before final feature freeze.
- Enable freehand digit drawing.
- Convert drawing into model-ready
28x28input. - Load MNIST TensorFlow.js model.
- Produce first prediction output.
DrawCanvasinput handling (mouse + touch).- Downsample/normalize pipeline.
tf.loadLayersModel('/model/model.json').- Console/UI display of top prediction.
28x28input grid preview.
- User can draw and clear canvas reliably.
- Preprocessing outputs deterministic
28x28values. - Model loads from static assets without runtime errors.
- Inference returns valid class distribution for digits
0-9.
- Build layer-level visual representation of activations.
- Synchronize model outputs with scene rendering.
- Provide explanatory UI for each stage.
- Three.js scene setup and camera flow.
LayerRendererfor activation planes/blocks.- Activation value-to-color mapping.
StepPanelwith layer name + description.- Initial orchestrator timeline.
- Activations from each relevant layer render in correct order.
- Step transitions are deterministic and repeatable.
- Layer labels and explanations align with rendered stage.
- Visualize convolution traversal mechanics.
- Show progressive feature-map construction.
- Introduce manual vs automatic playback controls.
KernelAnimframe-by-frame kernel sweep.FeatureMapincremental build animation.- Playback modes:
stepandauto. - Speed control slider.
- GLSL-based activation glow enhancement.
- Kernel path is spatially accurate relative to input grid.
- Feature-map build timing matches convolution progression.
- Playback controls remain synchronized with state machine.
- Finalize prediction UI and visual consistency.
- Ensure responsive behavior across device classes.
- Complete deployment and release readiness.
OutputBarconfidence bars for classes0-9.- Winner highlight pulse effect.
- Responsive layout adjustments.
- Theme/typographic polish.
- GitHub Actions deployment to GitHub Pages.
- Prediction UI is accurate and stable under repeated input.
- Mobile and desktop layouts are both usable.
- Production build deploys automatically from default branch.
- End-to-end acceptance checklist passes.
gantt
title CNN Visualizer V1 Roadmap
dateFormat YYYY-MM-DD
excludes weekends
section Phase 1
Canvas + Model Baseline :p1, 2026-03-30, 5d
section Phase 2
Layer Visualization Foundation :p2, after p1, 7d
section Phase 3
Kernel + FeatureMap Animation :p3, after p2, 7d
section Phase 4
Output UX + Deployment Polish :p4, after p3, 4d
- Phase 2 depends on stable outputs from Phase 1 (
input tensor,activations). - Phase 3 depends on Phase 2 scene abstraction and timeline hooks.
- Phase 4 depends on Phase 1-3 runtime correctness.
- CI/CD setup can start in parallel but must be validated before phase closure.
- Model asset management.
- Inference and activation extraction.
- Tensor lifecycle safety.
- Three.js scene composition.
- Activation rendering and color mapping.
- Kernel and feature-map animations.
- Draw controls, mode toggles, speed control.
- Step panel explanations.
- Output confidence interface.
- Vite production config.
- GitHub Actions workflow.
- GitHub Pages publish configuration.
- M1 - First valid inference on drawn input.
- M2 - Full layer progression visible in 3D.
- M3 - Kernel traversal + feature map animation complete.
- M4 - CI deploy + responsive UI + acceptance pass.
Each phase is complete only when:
- Functional scope is implemented.
- Regression checks for prior phases pass.
- Performance remains within target interactive latency.
- Documentation updates reflect final behavior.
- Risk: Preprocess mismatch with model expectation.
- Mitigation: golden-input tests with fixed expected predictions.
- Risk: Tensor memory leak during repeated runs.
- Mitigation: mandatory
tf.tidy()and periodic memory checks.
- Mitigation: mandatory
- Risk: Animation/ML desynchronization.
- Mitigation: single orchestrator timeline authority.
- Risk: Static asset path errors on GitHub Pages.
- Mitigation: environment-aware base path and CI smoke check.
- Risk: Mobile GPU limitations.
- Mitigation: adaptive rendering quality and reduced geometry density.
- UI shell and output components can be built while ML baseline is finalized.
- CI workflow scaffolding can run in parallel with visualization work.
- Step panel content authoring can proceed while kernel animation is implemented.
Release candidate is approved when:
- All phase exit criteria are satisfied.
- Testing and acceptance criteria document is fully green.
- Production deployment from default branch is validated.
- No unresolved P0/P1 defects remain.