Posts
Feb 5, 2018
1 min read
Merge Sort using WEBGL
An interactive 3D visualization of the Merge Sort algorithm using p5.js and WEBGL, featuring step-by-step animation with camera controls and real-time sorting visualization.

This is a (perhaps overkill) 3D WEBGL visualization of Merge Sort using the WEBGL rendering mode.
Launch this sketch is a new window (recommended)
Launch the p5.js editor
Controls
- ENTER = play sorting animation
- LEFT_ARROW = step backwards
- RIGHT_ARROW = step forwards
- SCROLL_UP = zoom in
- SCROLL_DOWN = zoom out
Connected Reading
Related entries
Chosen from shared tags, categories, and nearby section context.