I'm interested in doing two (not completely) separate things in TikZ, if I should open another question for one part, please tell me so.
What I'm interested in is:
- Create a random array of filled shapes.
- Create a random shape.
and maybe combine the two, but that will be the next step. what I want is to define the shape limit (like 10pt, 20pt etc.) and not to determine it's path.
EDIT:
Here's what I got so far (can't answer my own question yet) , for instance:
\begin{tikzpicture}
\def\x{rnd*4}
\foreach \i in {4,8,...,16} {
\edef\x{\x*rnd+\i}
\draw [fill=black,
decoration={random steps,segment length=.5cm,amplitude=.5cm},
decorate,
rounded corners=.3cm]
(\x,\x) -- (\x+3,\x) -- (\x+3,\x+3) -- (\x,\x+3) -- (\x,\x);
}
\end{tikzpicture}
will result in
As you can see it's not really random but "ascending".
So, to narrow it down :
I would like the patterns to sit on random (or seemingly random) places, without intersecting each other.
Thanks in advance.