This definition explains how to create the famous Dragon Curve using RABBIT.

The Heighway dragon (also known as the Harter–Heighway dragon or the Jurassic Park dragon) was first investigated by NASA physicists John Heighway, Bruce Banks, and William Harter. It was described by Martin Gardner in his Scientific American column Mathematical Games in 1967. Many of its properties were first published by Chandler Davis and Donald Knuth. It appeared on the section title pages of the Michael Crichton novel Jurassic Park.

Recursive construction of the curve
It can be written as a Lindenmayer system with
angle 90°
initial string FX
string rewriting rules
X = X+YF+
Y = −FX−Y.

Source: Wikipedia

Get Dragon Curve Gh

Hilber Curve Definition using RABBIT.

A Hilbert curve (also known as a Hilbert space-filling curve) is a continuous fractal space-filling curve first described by the German mathematician David Hilbert in 1891,[1] as a variant of the space-filling curves discovered by Giuseppe Peano in 1890

Get 2D Hilbert Curve Gh Get 3D Hilbert Curve Gh

4 thoughts on “L-Systems: Space Filling Curves with Rabbit

  1. Valerie says:

    Very nice tutorial, thank you a lot! But can you tell me how to connect two rule panels to PR at the same time? When I’m trying to do so, one of them would disconnect…~ToT~

  2. gpgoel@gmail.com says:

    Hello this grasshopper definition for 2d hilber curve shows a straight line upon running.

Leave a Reply

Your email address will not be published. Required fields are marked *