# Stripey balls in tikz

I would like to insert a stripey ball in TikZ, i.e. a filled-in circle that looks like this one. Would you know a clever solution for doing that?

-
Welcome to TeX.SX! I added your image for you. When you get a bit more reputation you will be able to add them yourself. –  Alan Munn Mar 18 '11 at 1:25
Thank you, Alan! –  Thanos D. Papaïoannou Mar 18 '11 at 1:44

You can declare a pattern and then apply it to the circle. This is quite easy to do, but you need to know the PGF commands for generating graphics. See section 78 ”Patterns” in the manual (v2.10).

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{patterns}
\begin{document}

\pgfdeclarepatternformonly{stripes}
{\pgfpointorigin}{\pgfpoint{1cm}{1cm}}
{\pgfpoint{1cm}{1cm}}
{
\pgfpathmoveto{\pgfpoint{0cm}{0cm}}
\pgfpathlineto{\pgfpoint{1cm}{1cm}}
\pgfpathlineto{\pgfpoint{1cm}{0.5cm}}
\pgfpathlineto{\pgfpoint{0.5cm}{0cm}}
\pgfpathclose%
\pgfusepath{fill}
\pgfpathmoveto{\pgfpoint{0cm}{0.5cm}}
\pgfpathlineto{\pgfpoint{0cm}{1cm}}
\pgfpathlineto{\pgfpoint{0.5cm}{1cm}}
\pgfpathclose%
\pgfusepath{fill}
}

\begin{tikzpicture}
\filldraw[pattern=stripes, pattern color=black!60]

@Thanos: the [radius=...] notation seems to be the preferred way to draw circles in version 2.10 of TikZ (but might not be available in older versions). –  Caramdir Apr 3 '11 at 2:39