Lably
Skip to content

Gosper curve

  • 1 min read
  • 2 chapters

Related on Lably

Through Tessellation, Plane (mathematics) and Similarity (geometry)

The Gosper curve can also be used for efficient hierarchical hexagonal clustering and indexing.

Lindenmayer system

The Gosper curve can be represented using an L-system with rules as follows:

  • Angle: 60°
  • Axiom: A
  • Replacement rules:
    • A↦A−B−−B+A++AA+B−
    • B↦+A−BB−−B−A++A+B

In this case both A and B mean to move forward, + means to turn left 60 degrees and - means to turn right 60 degrees - using a "turtle"-style program such as Logo.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Geometry