GithubHelp home page GithubHelp logo

sparshkhanna0001 / sorting-data-visualisor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 63.5 MB

Tkinter GUI App that visualises Sorting Algorithms

Python 90.11% JavaScript 0.01% C 0.81% Cython 0.15% C++ 0.77% Meson 0.01% Fortran 0.06% Forth 0.01% Smarty 0.02% PowerShell 0.05% Batchfile 0.01% TeX 0.57% HTML 7.45%

sorting-data-visualisor's Introduction

Challenge: Creating a Sorting Algorithm Visualisor Without GUI Experience - The Noob's Journey

Why?

Wanted to test if I could create an app Peacefully using AI (ChatGPT, Bard, Bing) to gain insights about the future.

How To Install

  • Simply install the executable.
  • Alternatively, download the repository, compile it yourself, and follow these steps:
    1. Unzip and enter the directory.
    2. Download Python 3.12.0.
    3. After installation, execute the following:
    python -m venv .venv
    .venv\Scripts\Activate
    pip uninstall pathlib
    pip install pyinstaller
    python -m pytinstaller gui.py

App

Description:

A straightforward app where you enter five numbers under ten in a text box. Submit it to check its correctness. Then select the algorithm type to execute and begin visualization.

Gallery

For video: Navigate to the Media Files Folder.

EXPERIENCE

Approach

  • Used existing Sorting Algorithms from GitHub (initially planned to use those provided by WilliamFiset).
  • Attempted a Java-based module for GUI with moving bars displaying sorting algorithms.

What Happened

  • Bard's Guidance: The journey commenced with Bard's advice, suggesting libraries that felt like a maze of complexity. Despite the uphill battle, delving into these libraries was a learning experience in itself, navigating through a sea of documentation and challenges.
    • D3 Experiment: Initially, the D3 module seemed like the golden ticket, only to spring a surprise โ€“ it churned out a web app while I fervently craved a GUI. The frustration was palpable!
      • Shift to Python: With a heavy heart, I bid farewell to the Java to Python API concept, as the search yielded a disappointing outcome. Cue dramatic sighs and a hint of exasperation.
    • New Approach: A glimmer of hope emerged as I stumbled upon a Python-based forked repo โ€“ a saving grace amidst the turbulent seas of trial and error.
    • Module Trials:
      1. PyPlot: The initial excitement was met with a shortfall in the animation department. The disappointment was crushing.
      2. Altair: Bard spoke highly of its SHIFT feature, but alas, it failed to harmonize with my animation aspirations. A twist in the plot, yet again!
      3. Matplotlib & Turtle: Playing the field between Matplotlib and Turtle, eventually, my heart was won over by Turtle's charm. Embracing Tkinter despite its tumultuous journey through errors and trials. A rollercoaster ride of frustration and determination.
        • Tkinter-Turtle Drama: Attempting the integration was akin to an emotional rollercoaster, swinging between frustration and the occasional burst of laughter amidst the chaotic coding adventure. Laughter, indeed, to cope with the challenging moments!

INSIGHTS Earned

  • Relying solely on AI for app creation was tough; learning and self-planning are key.
  • AI tools complement rather than replace developers; future needs might evolve.
  • Better understanding of documentation before AI reliance saves time.
  • AI utilization: Apply critical thinking and modify based on documentation understanding.

IMP LINKS:-

  1. Python Algorithms
  2. Executable file

sorting-data-visualisor's People

Contributors

sparshkhanna0001 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.