Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce an algorithm animation engine for Jupyter/Python #91

Open
zjl9959 opened this issue Dec 4, 2022 · 2 comments
Open

Introduce an algorithm animation engine for Jupyter/Python #91

zjl9959 opened this issue Dec 4, 2022 · 2 comments

Comments

@zjl9959
Copy link

zjl9959 commented Dec 4, 2022

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

@hritik5102
Copy link
Member

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 🙌🏻

@zjl9959
Copy link
Author

zjl9959 commented Jul 26, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants