Create convezione.tex

This commit is contained in:
ulaulaman 2019-07-11 00:10:53 +02:00 committed by GitHub
parent 07bf996a5e
commit 7ae14e58a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

22
convezione.tex Normal file
View File

@ -0,0 +1,22 @@
\documentclass{standalone}
%
\usepackage{tikz}
\usepackage{xcolor}
%
\definecolor{glass}{HTML}{BCFBF7}
\definecolor{water}{HTML}{2E889A}
%
\title{Ghiaccio nel bicchiere}
\begin{document}
\begin{tikzpicture}
\fill [white] (-6.5,12.5) rectangle (6.5,-0.5);
\draw [fill=water,opacity=0.2] (-4,10.5) -- (-1,10.5) -- (-1,7.5) -- (-4,7.5) -- (-4,10.5);
\draw [fill=water,opacity=0.2] (4,10.5) -- (1,10.5) -- (1,7.5) -- (4,7.5) -- (4,10.5);
\draw [fill=water,opacity=0.4] (-5.64,10) -- (5.64,10) -- (4.8,0.2) -- (-4.8,0.2) -- (-5.64,10);
%
\draw [fill=blue] (0,6.7) -- (0,6.5) -- (-0.5,6.7) -- (-4,6.7) arc (90:190:0.5) -- (-4,1.3) arc (190:270:0.5) -- (0,0.9) -- (0,0.4) -- (-4,0.4) arc (270:190:0.5) -- (-5,6.7) arc (180:90:0.5) -- (-0.5,7.2) -- (0,7.4) -- (0,6.7);
\draw [fill=red] (0,0.2) -- (0.5,0.4) -- (4,0.4) arc (270:350:0.5) -- (5,6.6) arc (-370:-270:0.5) -- (0,7.2) -- (0,6.7) -- (4,6.7) arc (-270:-360:0.5) -- (4,1.4) arc (360:270:0.5) -- (0.5,0.9) -- (0,1.1) -- (0,0.2);
\draw [fill=glass] (5,0) -- (6,12) -- (5.8,12) -- (4.8,0.2) -- (-4.8,0.2) -- (-5.8,12) -- (-6,12) -- (-5,0) -- (5,0);
\end{tikzpicture}
%
\end{document}