-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Gburi edited this page Dec 14, 2025
·
1 revision
- Python 3.10+
- FFmpeg
- LaTeX (optional, for math)
# Clone the repository
git clone https://github.com/YOUR_USERNAME/Algorithms-Visualized.git
cd Algorithms-Visualized
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # Linux/Mac
# .venv\Scripts\activate # Windows
# Install dependencies
pip install manim# Preview quality (fast, 480p)
cd Chapter1_BinarySearchVsLinearSearch
manim -pql main.py Chapter1Animation
# HD quality (slower, 1080p60)
manim -pqh main.py Chapter1AnimationRendered videos are saved to:
ChapterX_Name/media/videos/main/1080p60/ChapterXAnimation.mp4
# Chapter 1 - Binary Search
cd Chapter1_BinarySearchVsLinearSearch && manim -pqh main.py Chapter1Animation
# Chapter 2 - Arrays & Selection Sort
cd Chapter2_ArraysLinkedListsSelectionSort && manim -pqh main.py Chapter2Animation
# Chapter 3 - Recursion
cd Chapter3_Recursion && manim -pqh main.py Chapter3Animation
# Chapter 4 - Quicksort
cd Chapter4_DivideConquerQuicksort && manim -pqh main.py Chapter4Animation
# Chapter 5 - Hash Tables
cd Chapter5_HashTables && manim -pqh main.py Chapter5Animation
# Chapter 6 - BFS
cd Chapter6_BreadthFirstSearch && manim -pqh main.py Chapter6Animation
# Chapter 7 - Dijkstra's
cd Chapter7_DijkstrasAlgorithm && manim -pqh main.py Chapter7Animation
# Chapter 8 - Greedy
cd Chapter8_GreedyAlgorithms && manim -pqh main.py Chapter8AnimationUse the full path: .venv/bin/manim
Install texlive: sudo apt install texlive-full (Linux)
Use -pql for preview quality during development.