Comments (12)
Currently the program does not handle errors, so if you insert some non digit caracters in the Size box it will broke! If you did all right you must have found some exception, message me again. Thanks for reporting this issue.
from sorting-algorithms-visualizer.
I would appreciate your feedback about the program, and if you intend to help as well!
from sorting-algorithms-visualizer.
Yes, I'm ready to help.
I made a clone of your project. And crunched main.py. But I did not understand what parameters need to be entered for the program to work.
Or should I add an algorithm file to the project?
from sorting-algorithms-visualizer.
You managed to open the program with the size, delay, algorithm and play buttom?, similar to the gif in README.
If you did it you just have to insert valid values, e.g. 450 in size, 0 in delay, Mergesort in algorithm and press the play buttom
All you have to insert are inside the program, for inicialize it you just need to execute main.py
from sorting-algorithms-visualizer.
I'm sorry everything works!
Let me add the default parameters.
This will make it easier to understand how the program works.
from sorting-algorithms-visualizer.
Sure, I will asign this issue to you! If you manage a way to handle this errors, so when a user forgets this parameters or insert them wrong the program does not broke i would appreciate as well.
from sorting-algorithms-visualizer.
I don't understand why such a diff turns out.
It looks like this to me:
from sorting-algorithms-visualizer.
Are you up to change the code for handle possible errors?
from sorting-algorithms-visualizer.
Yes of course
from sorting-algorithms-visualizer.
Its working well, but it would be more efficient if the default values were defined just once outside the loop, right? Its not necessary to keep verifying and neither create a bool variable.
from sorting-algorithms-visualizer.
Oh sure. I'll fix it now.
from sorting-algorithms-visualizer.
I will close this issue and merge the pull request that you add default values
from sorting-algorithms-visualizer.
Related Issues (20)
- Redesign Menu Field HOT 9
- Implement [Exchange Sort]
- Implement [Insertion Sort]
- Implement Patience Sort HOT 2
- Implement Scroll Menu HOT 5
- Implement Double Selection Sort HOT 4
- Compress GIFs HOT 9
- Organize repo HOT 2
- Implement Tree Sort HOT 1
- Update algorithms options HOT 11
- Bogo sort not working properly HOT 4
- Add some docstrings / comments explainning each sorting algorithm HOT 13
- Suggestion : Displaying the values of the bars for better visualization and understanding HOT 8
- Implementing time taken to sort HOT 4
- Bug: Exchange sort throws TypeError HOT 1
- Improve the algorithm selection dropdown HOT 2
- Improve main.py and remove hardcoded values from display.py HOT 6
- BUG: TimSort Algorithm does not finish the sorting
- Bug: sizeBox should not allow null input HOT 1
- Delay, algorithm, and play/stop buttons are too responsive
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sorting-algorithms-visualizer.