From Borg to Borges

A labyrinth in three dimensions.


  • drag mouse to vary view
  • → key for thick paths
  • ← key for thin paths
  • ↑ key to make complex
  • ↓ key to simplify
  • PgUp key for near view
  • PgDn key for wide view
  • 0...9 keys to set random seed

Source code:

extends RenderApplet
using UnionFind
using RandomPermutation


Inspired by a delightful conversation over brunch on a winter's day at the NoHo Star with Karan Singh.

- Ken Perlin