Example: Valentine heart

Published 2007-02-16 | Author: Alain Matthes

Use PGF and TikZ to create a Valentine card.

Author:Alain Matthes

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

Valentine heart

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.

% Valentine heart
% Author: Alain Matthes
\documentclass{article}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
    \draw[ball color=BrickRed,shading=ball] (4,1) ..controls +(120:2cm)
        and +(90:2cm) .. (0,0) .. controls  +(-90:2cm) and +(90:3cm) ..
        (4,-8) .. controls +(90:3cm) and +(-90:2cm) ..(8,0)  .. controls
        +(90:2cm) and  +(60:2cm) .. (4,1);
\end{tikzpicture}
\end{document}

Comments

  • #1 AJ, May 28, 2010 at 12:20 a.m.

    This pic has been featured, with credits to the artist and this page, at www.squidoo.com/starsigns. I hope you like what I have done with it :)

  • #2 Ghada Rule, January 31, 2012 at 3:34 a.m.

    I love your heart!

Adding comments is currently not enabled.