Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[tikz,border=3.14mm]{standalone}
- usetikzlibrary{shapes.arrows}
- begin{document}
- begin{tikzpicture}
- begin{scope}[local bounding box=left]
- foreach X [count=Y] in {green!60!black,yellow!80!orange,red}
- {draw[X] plot[variable=x,domain=0:1] ({2*x},{0.7*sin(x*540)+0.4*x+2*(2-Y)});}
- end{scope}
- begin{scope}[xshift=5cm,local bounding box=right]
- foreach X [count=Y] in {green!60!black,yellow!80!orange,red}
- {draw[X] plot[variable=x,domain=0:1]
- ({2.5*x+0.5*cos(x*200)},{-0.7*sin(x*540)+2*(2-Y)});}
- end{scope}
- path (left.east) -- (right.west)
- node[midway,font=sffamily,single arrow, draw]{randomize};
- end{tikzpicture}
- end{document}
Add Comment
Please, Sign In to add comment