Projects
VisualizationFebruary 1, 2026

AI Visualizer - Neural Network Explorer

Interactive educational web application for exploring neural network architectures from perceptrons to transformers. I built the 3D renderer, architecture editor, mathematical explanations, and live TensorFlow code generation.

Overview

AI Visualizer is a comprehensive, production-ready web application that demystifies neural network architectures through immersive 3D visualization and interactive learning experiences. Whether you're a student learning deep learning fundamentals or an engineer exploring architecture designs, this platform provides visual learning, interactive experimentation, and real-time code generation.

Key Features

FeatureDescription
3D VisualizationFully interactive 3D neural network rendering with orbit controls
Live Code GenerationTensorFlow/Keras code updates in real-time as you modify networks
Architecture BuilderDrag-and-drop layer management with parameter adjustment
Mathematical FoundationsLaTeX-rendered formulas for activations, losses, and optimizers
Architecture GuideInteractive overlay with layer explanations and live examples

Supported Architectures

  • Perceptron - Single-layer linear classifier for AND/OR gates
  • MLP - Multi-layer feedforward network for XOR problem
  • CNN - Convolutional neural network for image recognition
  • RNN/LSTM - Recurrent architectures for sequence processing
  • Transformer - Attention-based architecture for NLP
  • GAN - Generative adversarial network for image generation
  • Autoencoder - Encoder-decoder for compression and denoising

Technical Stack

Frontend

  • Next.js 14 - React framework with App Router and static export
  • TypeScript - Type-safe development
  • React Three Fiber - Declarative 3D graphics
  • Three.js + Drei - 3D rendering engine and helpers
  • Tailwind CSS - Utility-first styling

State & Animations

  • Zustand - Lightweight state management
  • Framer Motion - Smooth UI animations
  • KaTeX - Mathematical typesetting

DevOps

  • GitHub Actions - CI/CD with lint, type-check, and build
  • GitHub Pages - Static site hosting
  • ESLint - Code quality enforcement

3D Visualization Features

Real-Time Rendering

  • Animated data flow through neurons with particle effects
  • Gradient visualization for backpropagation understanding
  • Dynamic layer scaling and positioning
  • Color-coded layer types (Input, Dense, Conv2D, LSTM, etc.)

Interactive Controls

  • Orbit controls for 360-degree viewing
  • Zoom and pan functionality
  • Layer selection with detailed info panels
  • Light/Dark mode toggle

Educational Content

The platform includes comprehensive educational content:
  • Layer-by-layer explanations with Input/Role/Output/Formula
  • Visual demonstrations of AND/OR/XOR decision boundaries
  • Step-by-step animations showing forward pass
  • Training process explanations covering forward pass, backpropagation, and training loop

Technologies Summary

CategoryTechnologies
FrameworkNext.js 14, React 18, TypeScript 5.0
3D GraphicsThree.js R164, React Three Fiber, Drei
StylingTailwind CSS 3.4, CSS Variables
StateZustand 4.x
MathKaTeX 0.16
AnimationsFramer Motion 11.x
CI/CDGitHub Actions, GitHub Pages