Skip to content

osvdevv/CNN-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CNN Visualizer

Interactive browser-based visualization of how a Convolutional Neural Network (CNN) processes handwritten digits (MNIST) from input pixels to final prediction.

What This Project Is

CNN Visualizer is a client-side educational app that lets users draw a digit (0-9) and inspect the full inference flow:

  1. Input preprocessing (280x280 -> 28x28)
  2. CNN layer progression (Conv, Pooling, Flatten, Dense)
  3. Intermediate activations
  4. Final class confidence distribution

The app is designed to run 100% in the browser with no backend runtime.

Tech Stack

  • TypeScript (vanilla)
  • Vite
  • TensorFlow.js
  • Three.js
  • GSAP
  • Canvas API

Documentation

Detailed technical docs are available in docs/:

Quick Start

npm create vite@latest cnn-visualizer -- --template vanilla-ts
cd cnn-visualizer
npm install
npm install @tensorflow/tfjs three gsap
npm run dev

Model Assets

Place the TensorFlow.js model artifacts in:

  • public/model/model.json
  • public/model/group1-shard1of1.bin (or equivalent shard set)

Project Status

Technical documentation is complete. Implementation should follow the phased roadmap in docs/04-implementation-roadmap.md.

Authors

  • Jose Manuel Cortes Ceron (deepdevjose)
  • Luis Osvaldo Rufino Velázquez (osvdevv)

License

MIT License. See LICENSE.

About

An Interactive 3D Journey into How AI Sees Your Handwritten Numbers

Resources

License

Security policy

Stars

Watchers

Forks

Packages