{"id":22349316,"url":"https://github.com/bd2720/sortvisualizer","last_synced_at":"2025-03-26T11:21:22.708Z","repository":{"id":248927992,"uuid":"827934458","full_name":"bd2720/SortVisualizer","owner":"bd2720","description":"A simple sorting algorithm visualization tool. Uses Processing for Java.","archived":false,"fork":false,"pushed_at":"2024-07-25T05:41:42.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T12:34:47.372Z","etag":null,"topics":["algorithms","java","processing","sorting-algorithms","visualization"],"latest_commit_sha":null,"homepage":"","language":"Processing","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bd2720.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-12T17:45:01.000Z","updated_at":"2024-07-25T05:41:45.000Z","dependencies_parsed_at":"2024-07-25T03:24:27.081Z","dependency_job_id":"75287758-fbee-42a5-955e-eeab2862d691","html_url":"https://github.com/bd2720/SortVisualizer","commit_stats":null,"previous_names":["bd2720/sortvisualizer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bd2720%2FSortVisualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bd2720%2FSortVisualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bd2720%2FSortVisualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bd2720%2FSortVisualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bd2720","download_url":"https://codeload.github.com/bd2720/SortVisualizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245641436,"owners_count":20648646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","java","processing","sorting-algorithms","visualization"],"created_at":"2024-12-04T11:07:57.342Z","updated_at":"2025-03-26T11:21:22.678Z","avatar_url":"https://github.com/bd2720.png","language":"Processing","readme":"# SortVisualizer  \nSortVisualizer is a simple visualization tool for sorting algorithms.  \n  \n## About   \nSorts a shuffled array of integers using a specified sorting algorithm.  \nThe x-position of each segment represents an index, and the segment's height is proportional to the array's current value at that index.  \nThe comparison (if present) made on each frame is highlighted in red.  \nIf a comparison on a given frame results in any swaps, they will display on the following frame.  \nNumber of swaps and number of comparisons are displayed as the animation plays.  \nPress the spacebar to pause/unpause.  \n  \n## Options \n  ``sortingAlg`` - SortType value representing the sorting algorithm to be performed on the array.  \n  ``arrSize`` - size of array to sort, containing numbers from 0 to size-1 at random locations.  \n  ``fps`` - frames per second, where a frame is (generally) one iteration of the sorting algorithm's inner loop.  \n  ``size(\u003cwidth\u003e, \u003cheight\u003e)`` - width and height of the window in pixels. (first line of ``setup()``)  \n\n## Sorting Algorithms\n```\nenum SortType {\n  BUBBLE,    // bubble sort\n  SELECTION, // selection sort\n  INSERTION, // insertion sort\n  QUICK,     // quicksort\n  HEAP,      // heapsort\n  BOGO       // bogosort\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbd2720%2Fsortvisualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbd2720%2Fsortvisualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbd2720%2Fsortvisualizer/lists"}