xbe.at

Lab

Things built to see how they work. Some are mine from scratch, some are other people's code taken apart and rebuilt.

Steering behaviours
Seek, flee, arrive, wander, flocking, path following: Craig Reynolds' steering behaviours in three.js, one demo each.
Chess
A chess board in the browser, against the computer.
WOPR terminal
Film subtitles typed out on a WarGames-style terminal.
Video to ASCII
A video redrawn as characters, frame by frame.
Versus
Where the time really goes: coding against debugging, and other honest splits.
Quiz
Python and machine learning questions, with the answers explained.
Breakout
The arcade classic in plain canvas.
Space Invaders
The 1978 Taito game, rebuilt in the browser.
Minesweeper
With an autoplay mode that solves the board by itself.
Sudoku
Generator and solver.
The cube
A Rubik's cube you can turn and scramble.