Skip to content
프로젝트

66-m/sorting-visualizer

GitHub에서 보기

소개

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

디자인 및 미디어

이 수치를 측정하는 방법

What you can do

  • 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

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original
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.

관련 프로젝트 살펴보기

불러오는 중…