Sorting Visualizer

Loading editor

Sorting Algorithm Animation – Bars Sorting Into Order

Sorting Visualizer

About Sorting Visualizer

Bars of random heights hop into place as a selection sort runs, the sorted run filling in behind the moving bar.

Animate a sorting algorithm with bars hopping into place and a sorted run filling in, for computer science and developer explainer videos.

Part of Networks & AI. New to this kind of graphic? Read How to Animate a Neural Network Diagram for a Video.

Transparent exports and editor imports are explained in the transparent video guide, and every download is free under the commercial license.

Category
Networks & AI
Length
10 seconds, up to 60 seconds
Playback
Plays once
Controls
14 editable
Format
MP4 · WebM · PNG sequence
Alpha
WebM or PNG sequence
Resolution
720p to 8K
Aspect
16:9 · 9:16 · 1:1 · 4:5
Works with
Premiere Pro · After Effects · DaVinci Resolve · Final Cut Pro · CapCut · Figma
License
Commercial use included
Cost
Free · no account · no watermark

Frequently asked

What can you customize in Sorting Visualizer?

Content: title and subtitle. Typography: font. Style: background, text color, primary, secondary, accent and thickness. Layout: aspect ratio and scale. Motion: duration, speed and variation.

How long is Sorting Visualizer?

Sorting Visualizer runs 10 seconds by default, and you can set any length up to 60 seconds before you export. It plays once.

How to use Sorting Visualizer

Sorting Visualizer supports computer science lessons, interview preparation channels and coding bootcamp ads. Watching bars hop into order while the sorted run grows makes selection sort easy to narrate one pass at a time, and it also loops well as a programming themed backdrop.

  • Put the algorithm name in Title and a note on the data, such as the number of values, in Subtitle.
  • Reduce Speed for teaching so each swap can be narrated, and raise it for a quick social clip.
  • Pick a new Variation to start from a different random arrangement of bar heights.

Related animations

  • Pathfinding Grid

    A search wavefront floods a walled grid cell by cell, then the shortest route between the two endpoints draws itself.

  • API Request Flow

    A request packet carries the endpoint across to the API, the server pulses while it works, and the response returns with its status.

  • Code Completion

    An editor panel types your lines, then a dimmed AI suggestion streams in after the caret and turns solid when it is accepted.

  • Deploy Log Stream

    Your own log lines print one after another in a terminal panel with a blinking caret and a progress bar filling underneath.

  • Agent Graph

    A labelled node graph builds itself edge by edge with arrowed links, then packets run the routes between agents.

  • AI Voice Orb

    A glowing assistant orb moves through idle, listening, thinking and speaking, its waveform rising and falling with each state.

  • Anomaly Detection

    A metric traces along inside its normal band until one reading spikes clear of it and gets ringed and flagged.

  • Attention Heads

    Each word in turn attends to the others, its links thickening with the weight it gives them as the heads cycle through.