# Tag Info

0

In answer to your original question, the following draws a fractal path connecting two points. In this case (0,0) to (3,3) \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} % zero mean Gaussian random number with variance=1 \newcount\gaussF \edef\gaussR{0} \edef\gaussA{0} \makeatletter \pgfmathdeclarefunction{randgauss}{0}{% ...

3

A recommended solution with PSTricks. \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-node,pst-plot} \pstVerb{realtime srand} \psset{linejoin=1} \def\N{30} \begin{document} \begin{pspicture}(6,5) \psline(6,0) \curvepnodes[plotpoints=\N]{0}{6}{t 5 Rand 2 mul sub}{A} \psnline[linecolor=red](0,\Anodecount){A} ...

4

Another alternative, inspired by http://tex.stackexchange.com/a/126179/34618 Code \documentclass[tikz,border=1cm]{standalone} %\usepackage{tikz} \usetikzlibrary{calc} \newcommand\irregularline[2]{% let \n1 = {(rand*(#1)} in +(0,\n1) \foreach \a in {0.1,0.2,...,#2}{ let \n1 = {rand*(#1)} in -- +(\a,\n1) } } % #1=seed, #2=length of ...

7

You can obtain similar result using the tikz library decorations.pathmorphing, that allows you to create decorations with radom steps. Also, using the clip option in path you can cut the vertical lines at the upper line of random form, but this should draw all boundary region of the clipping path, hence a horizontal line at bottom has been drawn, also ...

Top 50 recent answers are included