GithubHelp home page GithubHelp logo

blargian / embedded-sorting-algorithms Goto Github PK

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

A mixed C/C++ sorting algorithm visualizer for STM32F746G-DISCO hardware using TouchGFX and FreeRTOS.

C 59.31% Assembly 1.17% C++ 37.15% HTML 0.53% Ruby 1.57% Batchfile 0.01% Makefile 0.26%
cubemx freertos sorting-algorithms stm32 stm32f746g-discovery touchgfx cpp open-source sorting sorting-algorithm-visualizations

embedded-sorting-algorithms's Introduction

๐Ÿšง STM32 Sorting Algorithm Visualizer (in progress) ๐Ÿšง

Project Description

Sorting algorithms play an important role in computing as presorted data can help optimize other algorithms. Over the years many such sorting algorithms have been developed, each of which works in a slightly different way to acomplish the task. However, some are faster than others. Sorting algorithm visualizers are a common portfolio project, however this one is done on a microcontroller development board, the STM32F746G-DISCO, for an added challenge.

Through the touch screen of the device, the user is able to generate a random dataset using the the hardware's random number generator (so real random numbers and not just pseduo-random ones!), select which sorting algorithm they want to use from an informative catalogue of various algorithms, and then watch the algorithm sort the data set so you can get a feel for how the different algorithms work and how much faster some are than others.

ezgif-3-fd47577eef

Code walkthrough

embedded-sorting-algorithms's People

Contributors

blargian avatar

Watchers

 avatar

embedded-sorting-algorithms's Issues

randomly generated numbers and blocks

image

  • For an array of size 100, populate this array randomly with different numbers between 0 and 1000.
  • Using TouchGFX draw corresponding lines on the screen
  • Add a button which will run the random generation and update the array and blocks on screen.

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.