Example: Heart in 3D

Published 2014-03-15 | Author: cmhughes

An application of volumes of revolution for plotting a three-dimensional heart. If your TeX installation would throw an error "TeX capacity exceeded", you could use LuaLaTeX instead of pdfLaTeX, since it automatically allocates more memory.

This code was written by cmhughes on TeX.SE.

Download as: [PDF] [TEX]  •  [Open in writeLaTeX]

Heart in 3D

Do you have a question regarding this example, TikZ or LaTeX in general? Just ask in the LaTeX Forum.
Oder frag auf Deutsch auf TeXwelt.de.

    color(0cm) = (purple);
    color(1cm) = (pink!80!purple);
    color(2cm) = (pink!90);
    color(3cm) = (pink) }
      axis equal,
      axis lines=none,
      colormap name =pink, 
      domain=0:2*pi,y domain=0:2*pi,
      z buffer=sort,


  • #1 kobiki brush sogi 4, November 14, 2014 at 11:05 p.m.

    You ought to be a part of a contest for one of the most useful sites on the web. I'm going to highly recommend this web site!

Post a comment

Markdown syntax enabled. No HTML allowed.