# Beamer reflections with pgf/tikz

I want some nice reflections in my slides. Something like the ones seen in Jobs Keynotes.

Suppose you have multiple elements in the tikz picture and you want to reflect the whole thing with fading.

How can I achieve this using pgf/tikz?

-

I don't think that TikZ has support for copying contents. So the best idea I have is creating a command for the contents and then using that twice—the second time with appropriate transformations and fading applied. Here is a proof of concept:

\documentclass{article}
\pdfpageattr{/Group <</S /Transparency /I true /CS /DeviceRGB>>}
\usepackage{tikz}

\begin{document}
\newcommand\tikzcontents{
\fill[red] (-1,-2) rectangle (1,0.5);
\node (a) {first line};
\node[below=of a] (b) {second line};
}

\begin{tikzpicture}
\tikzcontents
\begin{scope}[yshift=-4.5cm,yscale=-1,transform canvas,transform shape]