Project Description

This project is about creating a GUI that visualizes algorithms. At first, it will focus on search and sort algorithms.

Goal for this Hackweek

Have a GUI that shows a bubble-sort.

Results

I wrote a small program that shows quick sort and bubble sort. Each number is represented by a bar with a length that's proportional to its value and a color based on its initial position in the array. The coloring helps tracking individual numbers.

After recording the demo you can see on the repository page, I refactored the code to allow multiple arrays at the same time. That allows for direct comparisons, but needs to be improved to control them at once.

Repo: https://git.sr.ht/~agraul/visu (mirrored to https://github.com/agraul/visu)

Resources

  • https://lib.rs/crates/egui
  • https://github.com/emilk/eframe_template/

Looking for hackers with the skills:

rust algorithms gui

This project is part of:

Hack Week 22

Activity

  • over 1 year ago: agraul added keyword "algorithms" to this project.
  • over 1 year ago: agraul added keyword "gui" to this project.
  • over 1 year ago: agraul added keyword "rust" to this project.
  • over 1 year ago: hennevogel liked this project.
  • over 1 year ago: agraul started this project.
  • over 1 year ago: agraul originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    This project is one of its kind!