A digital loom written in Scala