Skip to content

simonMat21/Visual-Learner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Screenshot

๐Ÿš€ Algorithm Visualizer

A modern, interactive web application that brings data structures and algorithms to life through stunning visualizations.

Perfect for students, educators, and developers who want to understand how algorithms work under the hood.

Live Demo License Next.js React

๐ŸŒ Visit Live Site โ€ข ๐Ÿ“– Documentation โ€ข ๐Ÿค Contribute โ€ข ๐Ÿ› Report Bug


โœจ Features

๐Ÿ”„ Sorting Algorithms

  • Bubble Sort - Watch bubbles rise to find their place
  • Selection Sort - See the selection process in action
  • Insertion Sort - Observe elements finding their sorted position
  • Merge Sort - Visualize the divide and conquer approach
  • Quick Sort - Experience the power of partitioning
  • Heap Sort - Understand heap-based sorting
  • Count Sort - See counting sort's linear time magic
  • Bucket Sort - Watch elements distributed into buckets
  • Radix Sort - Observe digit by digit sorting

๐Ÿ” Search Algorithms

  • Binary Search - See the power of divide and conquer
  • Linear Search - Watch sequential searching in action

๐ŸŒณ Data Structures

  • Binary Search Tree - Interactive BST operations
  • Linked Lists - Single and double linked list operations
  • Hash Tables - Understand hashing and collision resolution
  • Heaps - Visualize heap structure and operations

๐ŸŽฎ Interactive Features

  • Real-time Animation - Smooth, customizable animation speeds
  • Step-by-step Visualization - Control the pace of learning
  • Custom Input - Test with your own data sets
  • Random Data Generation - Quick testing with random arrays
  • Responsive Design - Works on desktop and mobile devices

๐Ÿ› ๏ธ Tech Stack

  • Framework: Next.js 14 (React)
  • Styling: Tailwind CSS
  • Animations: Custom animation engine with p5.js
  • UI Components: Shadcn/ui
  • Deployment: Vercel
  • Website: visuallearner.org

Project Structure

.
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ app
โ”‚   โ”œโ”€โ”€ algorithms
โ”‚   โ”‚   โ”œโ”€โ”€ bst
โ”‚   โ”‚   โ”œโ”€โ”€ hash-table
โ”‚   โ”‚   โ”œโ”€โ”€ heap
โ”‚   โ”‚   โ”œโ”€โ”€ linked-list
โ”‚   โ”‚   โ”œโ”€โ”€ search
โ”‚   โ”‚   โ””โ”€โ”€ sorting
โ”‚   โ”œโ”€โ”€ globals.css
โ”‚   โ”œโ”€โ”€ layout.js
โ”‚   โ””โ”€โ”€ page.js
โ”œโ”€โ”€ components
โ”‚   โ”œโ”€โ”€ Animator.js
โ”‚   โ”œโ”€โ”€ Animator2.js
โ”‚   โ”œโ”€โ”€ CodeBlock.js
โ”‚   โ”œโ”€โ”€ Footer/
โ”‚   โ”œโ”€โ”€ Header/
โ”‚   โ”œโ”€โ”€ NumberInput.js
โ”‚   โ”œโ”€โ”€ Tideon.js
โ”‚   โ”œโ”€โ”€ phoneScreenBlocker.js
โ”‚   โ””โ”€โ”€ ui/
โ”œโ”€โ”€ components.json
โ”œโ”€โ”€ eslint.config.mjs
โ”œโ”€โ”€ jsconfig.json
โ”œโ”€โ”€ lib/
โ”œโ”€โ”€ next.config.mjs
โ”œโ”€โ”€ package-lock.json
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ postcss.config.mjs
โ””โ”€โ”€ public/

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 18+ installed
  • npm, yarn, pnpm, or bun package manager

Installation

  1. Clone the repository

    git clone https://github.com/simonMat21/algorithm-visualizer.git
    cd algorithm-visualizer
  2. Install dependencies

    npm install
    # or
    yarn install
    # or
    pnpm install
  3. Run the development server

    npm run dev
    # or
    yarn dev
    # or
    pnpm dev
  4. Open your browser Navigate to http://localhost:3000 to see the application.

๐ŸŽฏ How to Use

  1. Visit the Website - Go to visuallearner.org
  2. Select an Algorithm - Choose from sorting, searching, or data structure categories
  3. Input Your Data - Enter custom numbers or generate random data
  4. Customize Settings - Adjust animation speed and visualization preferences
  5. Watch & Learn - Observe the algorithm in action with real-time animations
  6. Experiment - Try different inputs to see how algorithms behave

๐Ÿค Contributing

We love contributions! Whether you're fixing bugs, adding new algorithms, improving documentation, or enhancing the UI, your help is greatly appreciated.

Ways to Contribute

  • ๐Ÿ› Bug Reports - Found a bug? Let us know!
  • ๐Ÿ’ก Feature Requests - Have an idea? We'd love to hear it!
  • ๐Ÿ”ง Code Contributions - Submit pull requests for new features or fixes
  • ๐Ÿ“š Documentation - Help improve our docs and examples
  • ๐ŸŽจ Design - Enhance the user interface and experience

Getting Started with Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Test thoroughly
  5. Commit your changes (git commit -m 'Add some amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

Development Guidelines

  • Follow the existing code style and conventions
  • Add comments for complex algorithms
  • Test your changes across different browsers
  • Update documentation when needed
  • Keep animations smooth and educational

๐Ÿ“– Educational Value

This project is designed to help:

  • Computer Science Students understand algorithm complexity and behavior
  • Educators teach algorithms in an engaging, visual way
  • Developers refresh their knowledge of fundamental algorithms
  • Interview Candidates practice and visualize common algorithm questions

๐ŸŽจ Customization

The visualization engine is highly customizable:

  • Adjust colors and themes
  • Modify animation speeds
  • Add new visualization styles
  • Extend with new algorithms

๐Ÿ“ฑ Browser Support

  • Chrome (recommended)
  • Firefox
  • Safari
  • Edge

๐Ÿ™ Acknowledgments

  • Built with โค๏ธ using Next.js and React
  • Animations powered by p5.js
  • UI components from Shadcn/ui
  • Hosted at visuallearner.org
  • Special thanks to all contributors who help make this project better

๐ŸŒ Links

๐Ÿ“ž Support

If you encounter any issues or have questions:

  • Visit visuallearner.org to use the live version
  • Open an issue on GitHub
  • Check existing documentation
  • Join our community discussions

Made with โค๏ธ for the developer community. Happy learning! ๐ŸŽ“

Deploy with Vercel

Experience live at visuallearner.org

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7