Skip to main content

Questions tagged [lindenmayer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
3 answers
251 views

Linden Mayer System with multiple symbols

I am trying to use the lindenmayersystems package to draw the following pattern which resembles the cantor set: x, xox, xoxoooxox, ... I have defined the following system: \documentclass{article} \...
misogrumpy's user avatar
2 votes
1 answer
47 views

Tikz Fractal - Uniform Cantor Set with annotations

There is a very nice TikZ code to visualize the cantor set such as \documentclass{article} \usepackage{tikz} \usetikzlibrary{lindenmayersystems} \pgfdeclarelindenmayersystem{cantor set}{ \rule{F -&...
Jakob's user avatar
  • 1,003
3 votes
1 answer
73 views

capacity exceeded error when using l-system

Here is my code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{lindenmayersystems} \pgfdeclarelindenmayersystem{Tree}{ \rule{F -> F [ R [+F] [-F] ]} \symbol{R}{ \pgflsystemstep=...
Gau-Syu's user avatar
  • 473
5 votes
0 answers
120 views

Is there a way to randomize a Lindenmayersystem?

I'm trying to draw a classical Koch-Curve using the lindenmayersystem, but everytime a line segment is transformed there should be a 50/50 chance of it to be flipped left or right. The goal is to ...
Stroebel's user avatar
9 votes
5 answers
831 views

How to create iterations of the Sierpinski carpet

What I want to do is create a sequence of iterations of the Sierpinski carpet. The Sierpinski carpet is created by dividing the square into nine congruent subsquares and removing the middle one, then ...
N. F. Taussig's user avatar
6 votes
1 answer
118 views

How to well close a lindenmayer curve from TikZ?

I would like to know why the closed curve has that strange join at the start-end point. I see that the rounded corners affect it but how to get a nice closed curve in this case? \documentclass[border=...
Sigur's user avatar
  • 37.4k
2 votes
2 answers
150 views

Towards a square filling curve and Lindenmayer system drawing library

I am trying to obtain the first terms of a sequence of curves that converges to a curve in the family of well known plane (or space) filling curves. This is a variation I found in the book "...
Mandar's user avatar
  • 23
14 votes
2 answers
674 views

A Lindenmayer system case

Obviously the optimal way to make something like this is the Lindenmayer systems in TikZ. Here are some attempts of mine, kept per suggestion in a comment. \documentclass[tikz]{standalone} \...
მამუკა ჯიბლაძე's user avatar
4 votes
1 answer
94 views

Drawing colored sticks

I am trying to draw some "matrices" that looks like this So above the diagonal the sticks should be blue and below they should be red. Using some help from the answer by marmot in my previous ...
N3buchadnezzar's user avatar
2 votes
1 answer
318 views

Draw a recursive staircase function

I am trying to draw the following figures shown below However I am really unsure how to go about it. Sorry for not including a MWE as I usually do. But I do not know where I am going to start.
N3buchadnezzar's user avatar
2 votes
2 answers
258 views

Recursively draw the oriented tiling of a manifold

I am trying to recreate the image below using recursion. Is it possible to define Lindenmayer system to recursively nest the arrows? Sorry for no MWE as I have no idea where to start, except to draw ...
N3buchadnezzar's user avatar
3 votes
2 answers
578 views

Drawing nonuniform Cantor set

Using lindenmeyer systems, there is a nice way to make a uniform Cantor set using the following code. \documentclass{article} \usepackage{tikz} \usetikzlibrary{lindenmayersystems} \...
Daniel's user avatar
  • 211
8 votes
2 answers
1k views

Tikz Fractal - Sierpinski Hexagon

Yet another attempt at a Fractal construction. This time I am trying to draw the Sierpinski Hexagon: I think this should be easy enough to do using l-system. My question is a slightly broader one ...
JSharpee's user avatar
  • 867
4 votes
4 answers
2k views

Tikz Fractal - Uniform Cantor Set

To go along with my other fractals: Tikz Fractal - Cantor Dust and Tikz Fractal - Menger Sponge, which you lovely people have helped my create, I would like to construct a "uniform Cantor set". The ...
JSharpee's user avatar
  • 867
2 votes
1 answer
436 views

Scale and position Z-Curve using TikZ and the Lindenmayer system

I want to draw a Z-Curve in LaTeX using TikZ and the Lindenmayer system. But I did not manage to position the curves central over each bullet point. Furthermore I do not find any elegant way such that ...
Gilfoyle's user avatar
  • 1,185