The Sierpiński arrowhead curve is a fractal which can be written as a Lindenmayer system with
initial string "YF", string
rewriting rules "X" -> "YF+XF+Y", "Y" ->
"XF-YF-X", and angle .
An equivalent drawing convention starts with and applies
and
in parallel. Both
and
draw a forward step, while
and
turn right and left through
, respectively (Numberphile 2022, 8:18-12:45).
After
substitutions there are
forward steps, since each rule replaces one drawing symbol
with three. With unit steps, the distance between endpoints is
. At each refinement, a step is replaced by three
equal steps whose headings relative to it are
and
in some order, after aligning the endpoints of
the two stages. Their vector sum has length
.
Taking the step length to be
instead keeps the endpoint distance equal to 1.