LaTeX templates and examples — TikZ
Recent

Optical illusion: Do you look from the cylinder from the right or from the left?

The perpendicular lines that do not match row to row create an illusion of the lines between them being not parallel. Submitted as an answer to the Showcase of Optical Illusions question on TeX SX. Click the Illusions tag below to see more!

pgf-pie is a LaTeX package for drawing pie charts (and some interesting variants on pie charts) with the PGF/TikZ graphics package. The examples in this document are from the pgf-pie manual, version 0.2. The source code for pgf-pie is available at http://code.google.com/p/pgf-pie/.

Vectorized into eps by potrace, converted into metapost by pstoedit, manually edited into a tikz picture, cleaned up a bit. Source: https://github.com/lahvak/TeX-stuff/blob/master/plane.tex

tikz flowchart of an epidemiology study

The first six levels of the Sierpinski triangle in LaTeX. For some beautiful variations (and more information), see http://www.oftenpaper.net/sierpinski.htm

A drawing in TikZ. The first picture draws an impossible brick, which induces an optical illusion similar to that triggered by Escher's impossible cube. The second picture draws a Penrose triangle, another similar optical illusion.

Venn Diagrams in LaTeX

This example helps to show how the isolated areas of a Venn diagram can be filled / coloured. It was created as part of this answer on TeX StackExchange. Other options for creating Venn diagrams with multiple areas shaded can be found in the Overleaf gallery via the Venn Diagrams tag.
\begin
Discover why over 20 million people worldwide trust Overleaf with their work.