TheAlgorithms/Jupyter

Introduce an algorithm animation engine for Jupyter/Python

zjl9959 opened this issue · 2 comments

Hi guys, I created an animation engine based on Jupyter to make it easier to visualize algorithms.
The engine is called algviz. It's an open-source project and everybody can get the source code from GitHub.

I implement some famous algorithms and put them in this repo: algviz-launch.
But I think this project is a better place to contain those notebooks so that more people can learn from it.
Can I port some notebooks into this repo?


I listed some animations below and you can try the online code in Gitpod.

Open in Gitpod

  • Bubble sort algorithm:
    bubble_sort_animation

  • NQueens problem:
    NQueens_animation

  • Prim algorithm:
    Prim_animation

Hey, @zjl9959. Sorry to respond to you lately. Go ahead and create a separate folder called "Algorithm" and Create a folder with this project name and inside that add your Python scripts also include a README.md which will contain the documentation explaining the algorithm in detail.

Thank you for your contribution 🙌🏻

Hi @hritik5102, thanks for your respond. I created this pull request to add some jupyter notebooks under the Algorithm/algviz folder. In order to run these notebooks on Gitpod, I add the dependency libraries(graphviz and algviz) in the configuration files. You can preview these notebooks on Gitpod from this link: http://gitpod.io/#https://github.com/zjl9959/Jupyter
Please take a look!