Source code art in the Rivulet language
Published on: 2025-05-27 17:55:19
Rivulet
Rivulet is a programming language of flowing strands, written in semigraphic characters. A strand is not pictographic: its flow does not simulate computation. There are four kinds of strands, each with their own symbolism and grammatical rules. Together, they form glyphs, tightly-packed blocks of code whose strands execute together.
Here is a complete Fibonacci program:
╵──╮───╮╭─ ╵╵╭────────╮ ╰─╯╰──╯│ ╰─╶ ╶╮╶╮╶╯ ╰─────╮ │ ╭─────╯ ╰─────╮ ╰─╯ ╷ ╰─── ───╯╷ ╵╵─╮ ╭─╮ ╭── ╵╵╰─╮ ──╮──╮ ╰─╮│ ╰─╯ ╵╵╰─╯╶╮ ╴─╯ ╭─╯╭─╯ ╰─╯╰─ ╰──╯╰────╯ ╭╴ ╵╶╯ ╶╯╶╮ ╭─╮ ╭╴ │ ╰──────╯ │ │ │ ╰─╮ ╭─╮ │ │ ╰─╯ │ │ │ ╰─╯ ╷ ╰──── ╰───╯╷ ╵╵ ╭── ──╮ ╭─╮ ╵╰─╮ ╰─╮ ╭─╯╭─╯ │ ╴─╯ ╶╯╵╶╯ │ ╷╶╯ ╭─╮ ╭─╮ ╰────╯ │ ╭─╮ │ │ ╰────╮ ╭─╯ ╭╴│ │ ╭─╯ ╰────╮ │ │ │ │ │ │ │ ╭────╯ │ │ ╰─╯ │ ╷ ╰─╷ ╰────╮ │ ╰─────╯ │ │ ╰─────────╯╷
Here is the same program formatted by the interpreter into an svg, alongside two variations that produce equivalent computer instructions:
Fibonacci 1 Fibonacci 2 Fibonacci 4
⚠️ WARNING Status: Version 0.4
... Read full article.