Without much comments
a flower, or a Parametric Breather Pseudospherical Surface.
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.8}
\pgfplotsset{trig format plots=rad}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
view = {60}{-60},
hide axis,
colormap = {flower}{%
color(0cm) = (yellow); color(4cm) = (orange);
color(8cm) = (red!40!black); color(12cm) = (red!80!black);
color(16cm) = (green); color(20cm) = (green!20!black)},
]
\addplot3[
surf,
z buffer = sort, point meta = u,
domain = -13.2:13.2, domain y = -37.4:37.4,
samples = 30, samples y = 30,% take 80 and 120 for the image below
variable = \u, variable y = \v
]
( { -u + (2*0.84*cosh(0.4*u)*sinh(0.4*u))/(0.4*((sqrt(0.84)*cosh(0.4*u))^2
+ (0.4*sin(sqrt(0.84)*v))^2)) },
{ (2*sqrt(0.84)*cosh(0.4*u)*(-(sqrt(0.84)*sin(v)
* cos(sqrt(0.84)*v)) + cos(v)*sin(sqrt(0.84)*v)))/(0.4
* ((sqrt(0.84)*cosh(0.4*u))^2 + (0.4*sin(sqrt(0.84)*v))^2)) },
{ (2*sqrt(0.84)*cosh(0.4*u)*(-(sqrt(0.84)*cos(v)
* cos(sqrt(0.84)*v)) - sin(v)*sin(sqrt(0.84)*v)))/(0.4
* ((sqrt(0.84)*cosh(0.4*u))^2 + (0.4*sin(sqrt(0.84)*v))^2)) });
\end{axis}
\end{tikzpicture}
\end{document}
See also: Original Source by Stefan Kottwitz
Note: The copyright belongs to the blog author and the blog. For the license, please see the linked original source blog.
Leave a Reply
You must be logged in to post a comment.