VibeSort Visualizer
Pick an algorithm, paste a numeric array, then run. Three modes:
Bogo (pure random)
,
Hill-climb
, and
Annealing
.
Array input (comma / space separated)
12, 3, 7, 24, 5, 18, 1, 30
Algorithm
VibeSort — Bogo (pure random)
VibeSort — Hill-climb (accept improvements)
VibeSort — Simulated Annealing
Order
Highest vibe first (desc)
Lowest vibe first (asc)
Vibe function (preset or custom JS using
n
)
Identity (n)
Magnitude (|n|)
Negatives first
Even preferred
Primes preferred
n % 10
Random
Custom expression
Speed (ms)
Custom expression using
n
(e.g.
n%2===0 ? n*10 : n
)
Start
Step
Pause
Reset
Export JSON
Limit attempts / iterations
Live-sync input (preview updates while typing)
State & Controls
Algorithm:
bogo
Attempts:
0
Inversions:
0
Speed:
300ms
Status:
stopped
Visualization
Attempt log