three.js
This example demonstrates a bitonic sort running step by step in a compute shader.
The left canvas swaps values within workgroup local arrays. The right swaps values within storage buffers.
Reference implementation by Tim Gfrerer
This example demonstrates a bitonic sort running step by step in a compute shader.
The left canvas swaps values within workgroup local arrays. The right swaps values within storage buffers.
Reference implementation by Tim Gfrerer
Based on the three.js example
Modules bundled into the page, so this is one HTML file with no external files.
webgpu_compute_sort_bitonic.html · MIT License · Copyright © 2010-2026 three.js authors · github.com/mrdoob/three.jsModules bundled into the page, so this is one HTML file with no external files.