From c89d7cb8b622be3f8680908c5fee1bcc58c44755 Mon Sep 17 00:00:00 2001 From: ulaulaman <34242086+ulaulaman@users.noreply.github.com> Date: Tue, 25 Jun 2019 11:30:26 +0200 Subject: [PATCH] Diffusione della luce da parte dell'atmosfera --- diffusione_luce.tex | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 diffusione_luce.tex diff --git a/diffusione_luce.tex b/diffusione_luce.tex new file mode 100644 index 0000000..ad21c05 --- /dev/null +++ b/diffusione_luce.tex @@ -0,0 +1,45 @@ +\documentclass{standalone} +% +\usepackage{tikz} +\usepackage{xcolor} +\definecolor{space}{HTML}{0A2543} +\definecolor{earth}{HTML}{0089FA} +\definecolor{mars}{HTML}{DC7B4E} +% +\usepackage{mathptmx} +\usepackage{fontspec} +\setmainfont{Montserrat} +% +\title{Diffusione della luce in atmosfera} +\begin{document} + \tikzset{partial ellipse/.style args = {#1:#2:#3}{insert path={+ (#1:#3) arc (#1:#2:#3)}}} + \begin{tikzpicture} + % + \draw [fill=space] (-14,9) rectangle (14,-7.1); + % + \coordinate (B') at (-14,9); + \coordinate (D') at (14,9); + \coordinate (S') at (14,-7.1); + \draw [use as bounding box] (B') -| (D') |- (S') -| (B'); + \begin{scope} + % + \draw (-14,2) [fill=white, partial ellipse=90:-90:3 and 3]; + % + \draw [fill=white!50!earth, opacity=0.4](-14,-3.44) -- (-14,-7.2) -- (14,-7.2) -- (14,6.25); + \draw (10,-27.5) [fill=white!50!earth, opacity=0.4, partial ellipse=83.2:135:34 and 34]; + \draw [color=earth, fill=earth] (14,-2.8) -- (14,-7.2) -- (-4.7,-7.2); + \draw (10,-27.5) [color=earth, fill=earth, partial ellipse=80.8:126:25 and 25]; + % + \draw [color=white, ultra thick] (-11,2) -- (-6.9,2); + \draw [color=blue, ultra thick] (-6.9,2) -- (-1.7,-5.4); + \draw [color=red, ultra thick] (-6.9,2) -- (14,2); + % + \draw [<-, color=white, ultra thick] (-6.9,2) -- (-5.9,5); + \node at (-5.9,6.4) {\textcolor{white}{\fontsize{20}{21}\selectfont La luce del Sole viene diffusa}}; + \node at (-5.9,5.5) {\textcolor{white}{\fontsize{20}{21}\selectfont dall'atmosfera terrestre}}; + % + \draw [fill=white] (-14,-7.1) rectangle (14,-7.3); + \end{scope} + \end{tikzpicture} +% +\end{document}