The Morsetree

Viktor Teodosin

In Morse Code, every letter of the alphabet can be represented as a unique sequence of dots and dashes. A sequence like this can be visualised as a binary tree. Starting from the bottom, we take a left turn for every dot (represented as a binary 0), and a right turn for every dash (represented as a 1). Every letter has takes a unique path through the tree structure. Input your own text to be fed into the Morsetree from the input box on the top left.