Skip to content

smamran/manimcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSE Manim Animation Roadmap A structured roadmap for creating animated visualizations of core Computer Science concepts using Manim. Organized in progressive phases—from beginner-friendly math and geometry to advanced algorithms, AI/ML, and systems simulations—this repo helps you build strong animation skills while reinforcing key CSE topics.

Features:

  • Phase 1: Math & Geometry basics (Numbers, Functions, Shapes, Transformations)
  • Phase 2: Algorithms & Data Structures (Sorting, Linked Lists, Trees, Graphs)
  • Phase 3: Networks & OS (Packet routing, Scheduling, Deadlocks)
  • Phase 4: Databases (B-Trees, Hashing, Query Execution)
  • Phase 5: AI/ML (Neural Networks, Decision Trees, Clustering, PCA)
  • Phase 6: Theory & Cryptography (Automata, Turing Machines, RSA, Hashing)
  • Phase 7: Advanced Simulations (Concurrency, Git Workflows, 3D Graphics)

Goal: Learn Manim step-by-step, visualize abstract CSE concepts, and create clear, dynamic, and reusable animations.

Phase 1: Basics & Foundations

Goal: Get comfortable with Manim syntax, shapes, text, and simple animations.

Topics to Animate:

  1. Mathematical basics

    • Numbers, arithmetic operations, sequences, and series
    • Graphing functions (linear, quadratic, sine/cosine)
    • Fractions, percentages, and basic algebra
  2. Geometry & shapes

    • Lines, circles, polygons, 3D shapes
    • Transformations: translation, rotation, scaling
    • Animating intersections, unions, and angles

Skills Learned: Text, MathTex, Circle, Square, Polygon, Transform, Fade, MoveToTarget


Phase 2: Algorithms & Data Structures

Goal: Visualize how algorithms work step-by-step.

Topics to Animate:

  1. Sorting algorithms

    • Bubble, Selection, Insertion, Merge, Quick, Heap sort
    • Show array updates and swaps dynamically
  2. Linked lists, stacks, queues

    • Node insertion, deletion, traversal
    • Stack push/pop and queue enqueue/dequeue
  3. Trees & Graphs

    • Binary tree traversal: pre-order, in-order, post-order
    • Graph traversal: BFS, DFS
    • Shortest path (Dijkstra / A*) animations

Skills Learned: VGroup, Arrow, Line, Circle for nodes, Updater for dynamic changes


Phase 3: Computer Networks & Operating Systems

Goal: Visualize processes, data flow, and scheduling.

Topics to Animate:

  1. Networks

    • Packet routing and network topologies
    • TCP handshake, congestion, or “network black hole” visualization
  2. OS Concepts

    • CPU scheduling (FCFS, SJF, Round Robin)
    • Page replacement (FIFO, LRU, Optimal)
    • Deadlock cycles

Skills Learned: Animating moving objects, timelines, and state changes


Phase 4: Databases & Query Visualization

Goal: Show abstract database structures and operations visually.

Topics to Animate:

  1. Trees and indexing

    • B-Trees / B+ Trees insertion and deletion
    • Hash tables and collision resolution
  2. Query execution

    • Joins and filtering operations
    • Transactions: commit, rollback, ACID visualization

Skills Learned: Table, Tex, Transform, dynamic updates


Phase 5: Artificial Intelligence / Machine Learning

Goal: Animate neural networks, decision-making, and algorithms.

Topics to Animate:

  1. Neural Networks

    • Forward propagation, backpropagation, weight updates
    • Activation functions visualization
  2. Decision Trees & Search Algorithms

    • Minimax / Alpha-beta pruning
    • Pathfinding in grids or mazes
  3. Clustering & Dimensionality Reduction

    • K-means clustering iterations
    • PCA projection of points

Skills Learned: Animating multi-layered structures, highlighting flows, color coding states


Phase 6: Theory of Computation & Cryptography

Goal: Animate abstract theoretical concepts.

Topics to Animate:

  1. Automata & Turing Machines

    • DFA / NFA transitions
    • Stack operations in PDA
    • Step-by-step Turing machine tape changes
  2. Cryptography

    • RSA encryption/decryption process
    • Key exchange protocols (Diffie-Hellman)
    • Hashing and signature verification

Skills Learned: State machines, step-wise computation, Arrow and Text animations


Phase 7: Advanced CS Simulations

Goal: Combine multiple concepts for complex animations.

Topics to Animate:

  • Parallel computing / concurrency

    • Threads, locks, deadlock visualization
  • Software engineering pipelines

    • Git branching, merges, CI/CD flows
  • Computer graphics concepts

    • Transformations, projections, fractals

Skills Learned: Multi-object animations, layered updates, camera movements, 3D visualizations


Roadmap Tips

  • Start simple, like sorting or geometric shapes, then move to dynamic systems.
  • Use color coding and labels to make the animation clear.
  • Combine math, arrows, and text for conceptual clarity.
  • For 3D animations, explore ThreeDScene and camera rotations.
  • Reuse animation templates (e.g., ArrayAnimation, GraphTraversal) for efficiency.

About

Animating Math & Computer Science Topics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published