Skip to content
Proyek

66-m/sorting-visualizer

Lihat di GitHub

Tentang

See and hear Sorting Algorithms in Real Time: 22 Algorithms, 30 Visuals

Desain dan media

Cara angka ini diukur

Yang dapat Anda lakukan

  • Classic and unusual sorts (Quick, Merge, Heap, Radix, Bogo and more), one at a time or all in a row with a comparison table
  • 2D and 3D visualizations, custom colors and optional MIDI sound
  • Sort a playing video (needs ffmpeg), your own 3D models (.obj) or the Earth
  • Arrays of up to 100,000 elements, with live metrics

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
+1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli
Logo

Sorting Algorithm Visualizer

Watch and listen to 23 sorting algorithms in real time, with 36 visualizations, live metrics and MIDI sound.

CI License: AGPL v3 Latest Release

Download · Issues

Demo screenshot

Install

Download the file for your system from the latest release.

System Download
Windows 10/11 (x64) sorting-visualizer-<version>-windows-x64.msi, or the portable …-windows-x64.zip (run Sorting Visualizer.exe)
macOS, Apple Silicon sorting-visualizer-<version>-macos-arm64.dmg
macOS, Intel sorting-visualizer-<version>-macos-x64.dmg
Linux (x64), Ubuntu 24.04+ or Debian 13+ sorting-visualizer-<version>-linux-x64.deb
Linux (x64), any distribution sorting-visualizer-<version>-linux-x64.tar.gz (extract it and run sorting-visualizer/bin/sorting-visualizer)

The packages are not signed yet, so your system warns you on first launch:

  • macOS: right-click the app and choose Open, or use System Settings → Privacy & Security → Open Anyway.
  • Windows: if SmartScreen says "Windows protected your PC", choose More info → Run anyway.

Already have Java?

With Java 25 or newer you can also run the sorting-visualizer.jar on Windows, Linux and Intel Macs. On Apple Silicon, use the .dmg.

java --enable-native-access=ALL-UNNAMED --add-opens=java.desktop/com.sun.media.sound=ALL-UNNAMED -jar sorting-visualizer.jar

Launch flags

Add these after the program or JAR name.

Flag Effect
fullscreen Show the visualization in exclusive fullscreen
portrait Use a tall window (about 9:16)
--display=N Show the visualization on display N, counting from 1 (default: 2 if you have several monitors)
--self-check Check that the installation works, then exit without opening a window

Features

  • Classic and unusual sorts (Quick, Merge, Heap, Radix, Bogo and more), one at a time or all in a row with a comparison table
  • 2D and 3D visualizations, custom colors and optional MIDI sound
  • Sort a playing video (needs ffmpeg), your own 3D models (.obj) or the Earth
  • Arrays of up to 100,000 elements, with live metrics

Build from source

You need JDK 25 or newer. Maven is included (./mvnw).

git clone https://github.com/66-m/sorting-visualizer.git
cd sorting-visualizer
./mvnw clean package
./run
Command What it does
./build Build and run the tests
./build skip-tests Build without tests
./run Start the app (accepts the flags above)

On Windows, use build.cmd, run.cmd and mvnw.cmd. For packaging and releases, see Contributing.

Docs

License

Copyright (C) 2020-2026 Marcel Mauel

Licensed under the GNU Affero General Public License v3.0. See LICENSE.

Jelajahi proyek terkait

Memuat…