Tools

Interactive tools.

Six small tools for trying an idea and seeing what changes. Computation and the text you enter stay in your browser.

Algorithms

Sorting algorithms

Compare sorting algorithms on the same input, with playback controls and counts of comparisons and swaps.

Developer tools

Regex tester

Test JavaScript regular expressions against your text. Inspect matches and capture groups, with a time limit for expensive patterns.

Algorithms

Text compression

Step through Huffman coding and run-length encoding. Compare character frequencies, binary codes, and encoded text.

Graphics

Shader editor

Edit GLSL fragment shaders and see the result in a live WebGL preview. Includes procedural graphics examples and audio input.

Audio

Step sequencer

Build a sixteen-step drum pattern with five synthesized instruments. Adjust the tempo, edit individual steps, and play it in your browser.

Machine learning

Neural network

Train a small neural network on two-dimensional data. Change its settings and training points to inspect the decision boundary.