tikzdraw/infographics/sistema_solare_masse.tex

151 lines
7.8 KiB
TeX

\documentclass{standalone}
%
\usepackage{tikz}
\usetikzlibrary{backgrounds}
\usetikzlibrary{calc}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{bending,arrows.meta}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usepackage{xcolor}
\usepackage{pgfplots}
%
\definecolor{space}{HTML}{0A2543}
\definecolor{mercury}{HTML}{846549}
\definecolor{venus}{HTML}{BB9765}
\definecolor{earth}{HTML}{0089FA}
\definecolor{mars}{HTML}{DC7B4E}
\definecolor{jupiter}{HTML}{A79476}
\definecolor{saturn}{HTML}{DBBD9B}
\definecolor{saturnring}{HTML}{857C73}
\definecolor{uranus}{HTML}{b1d8dd}
\definecolor{neptune}{HTML}{799bc1}
\definecolor{pluto}{HTML}{ceaa8a}
\definecolor{dida}{HTML}{FFDE00}
\definecolor{title}{HTML}{FBA706}
%
\usepackage{fontspec}
\setmainfont{Open Dyslexic}
%\setmainfont{Montserrat Medium}
%
\title{Sistema Solare}
\begin{document}
%\tikzset{partial ellipse/.style args = {#1:#2:#3}{insert path={+ (#1:#3) arc (#1:#2:#3)}}}
\begin{tikzpicture}[background rectangle/.style={fill=space},show background rectangle,>={[inset=0,angle'=27]Stealth}]
\tikzstyle{spring}=[thick,decorate,decoration={aspect=0.3, segment length=3mm, amplitude=3mm,coil}]
%
\def\rsun{15}
\def\delta{3}
%
\begin{scope}[shift={(0,-\rsun-\delta)}]
\node [circle,fill=mercury,inner sep=0.2 cm] (mr) at (0,-2.5/\delta-2*\delta) {};
\draw [color=white, spring] (mr) -- (0,0);
\node at (0,-2.5/\delta-2*\delta-0.8) {\textcolor{white}{\fontsize{24}{25}\selectfont Mercurio}};
\node at (-1,-2.5/\delta-2*\delta-1.8) {\textcolor{white}{\fontsize{24}{25}\selectfont 3.301 $\cdot$ 10}};
\node at (1.4,-2.5/\delta-2*\delta-1.4) {\textcolor{white}{\fontsize{12}{13}\selectfont 23}};
\node at (2.4,-2.5/\delta-2*\delta-1.9) {\textcolor{white}{\fontsize{24}{25}\selectfont kg}};
\end{scope}
%
\begin{scope}[shift={(6.5,-\rsun-\delta)}]
\node [circle,fill=venus,inner sep=0.2 cm] (vr) at (0,-3.7/\delta-3*\delta) {};
\draw [color=white, spring] (vr) -- (0,0);
\node at (0,-3.7/\delta-3*\delta-0.8) {\textcolor{white}{\fontsize{24}{25}\selectfont Venere}};
\node at (-1,-3.7/\delta-3*\delta-1.8) {\textcolor{white}{\fontsize{24}{25}\selectfont 4.868 $\cdot$ 10}};
\node at (1.4,-3.7/\delta-3*\delta-1.4) {\textcolor{white}{\fontsize{12}{13}\selectfont 24}};
\node at (2.4,-3.7/\delta-3*\delta-1.9) {\textcolor{white}{\fontsize{24}{25}\selectfont kg}};
\end{scope}
%
\begin{scope}[shift={(13,-\rsun-\delta)}]
\node [circle,fill=earth,inner sep=0.2 cm] (et) at (0,-4.6/\delta-3*\delta) {};
\draw [color=white, spring] (et) -- (0,0);
\node at (0,-4.6/\delta-3*\delta-0.8) {\textcolor{white}{\fontsize{24}{25}\selectfont Terra}};
\node at (-1,-4.6/\delta-3*\delta-1.8) {\textcolor{white}{\fontsize{24}{25}\selectfont 5.973 $\cdot$ 10}};
\node at (1.4,-4.6/\delta-3*\delta-1.4) {\textcolor{white}{\fontsize{12}{13}\selectfont 24}};
\node at (2.4,-4.6/\delta-3*\delta-1.9) {\textcolor{white}{\fontsize{24}{25}\selectfont kg}};
\end{scope}
%
\begin{scope}[shift={(19.5,-\rsun-\delta)}]
\node [circle,fill=mars,inner sep=0.2 cm] (ms) at (0,-4.9/\delta-2*\delta) {};
\draw [color=white, spring] (ms) -- (0,0);
\node at (0,-4.9/\delta-2*\delta-0.8) {\textcolor{white}{\fontsize{24}{25}\selectfont Marte}};
\node at (-1,-4.9/\delta-2*\delta-1.8) {\textcolor{white}{\fontsize{24}{25}\selectfont 6.419 $\cdot$ 10}};
\node at (1.4,-4.9/\delta-2*\delta-1.4) {\textcolor{white}{\fontsize{12}{13}\selectfont 23}};
\node at (2.4,-4.9/\delta-2*\delta-1.9) {\textcolor{white}{\fontsize{24}{25}\selectfont kg}};
\end{scope}
%
\begin{scope}[shift={(26,-\rsun-\delta)}]
\node [circle,fill=jupiter,inner sep=0.2 cm] (jp) at (0,-1.5/\delta-6*\delta) {};
\draw [color=white, spring] (jp) -- (0,0);
\node at (0,-1.5/\delta-6*\delta-0.8) {\textcolor{white}{\fontsize{24}{25}\selectfont Giove}};
\node at (-1,-1.5/\delta-6*\delta-1.8) {\textcolor{white}{\fontsize{24}{25}\selectfont 1.898 $\cdot$ 10}};
\node at (1.4,-1.5/\delta-6*\delta-1.4) {\textcolor{white}{\fontsize{12}{13}\selectfont 27}};
\node at (2.4,-1.5/\delta-6*\delta-1.9) {\textcolor{white}{\fontsize{24}{25}\selectfont kg}};
\end{scope}
%
\begin{scope}[shift={(32.5,-\rsun-\delta)}]
\node [circle,fill=saturn,inner sep=0.2 cm] (st) at (0,-4.4/\delta-5*\delta) {};
\draw [color=white, spring] (st) -- (0,0);
\node at (0,-4.4/\delta-5*\delta-0.8) {\textcolor{white}{\fontsize{24}{25}\selectfont Saturno}};
\node at (-1,-4.4/\delta-5*\delta-1.8) {\textcolor{white}{\fontsize{24}{25}\selectfont 5.683 $\cdot$ 10}};
\node at (1.4,-4.4/\delta-5*\delta-1.4) {\textcolor{white}{\fontsize{12}{13}\selectfont 26}};
\node at (2.4,-4.4/\delta-5*\delta-1.9) {\textcolor{white}{\fontsize{24}{25}\selectfont kg}};
\end{scope}
%
\begin{scope}[shift={(39,-\rsun-\delta)}]
\node [circle,fill=uranus,inner sep=0.2 cm] (ur) at (0,-6.7/\delta-4*\delta) {};
\draw [color=white, spring] (ur) -- (0,0);
\node at (0,-6.7/\delta-4*\delta-0.8) {\textcolor{white}{\fontsize{24}{25}\selectfont Urano}};
\node at (-1,-6.7/\delta-4*\delta-1.8) {\textcolor{white}{\fontsize{24}{25}\selectfont 8.681 $\cdot$ 10}};
\node at (1.4,-6.7/\delta-4*\delta-1.4) {\textcolor{white}{\fontsize{12}{13}\selectfont 25}};
\node at (2.4,-6.7/\delta-4*\delta-1.9) {\textcolor{white}{\fontsize{24}{25}\selectfont kg}};
\end{scope}
%
\begin{scope}[shift={(45.5,-\rsun-\delta)}]
\node [circle,fill=uranus,inner sep=0.2 cm] (np) at (0,-7.9/\delta-4*\delta) {};
\draw [color=white, spring] (np) -- (0,0);
\node at (0,-7.9/\delta-4*\delta-0.8) {\textcolor{white}{\fontsize{24}{25}\selectfont Nettuno}};
\node at (-1,-7.9/\delta-4*\delta-1.8) {\textcolor{white}{\fontsize{24}{25}\selectfont 1.024 $\cdot$ 10}};
\node at (1.4,-7.9/\delta-4*\delta-1.4) {\textcolor{white}{\fontsize{12}{13}\selectfont 26}};
\node at (2.4,-7.9/\delta-4*\delta-1.9) {\textcolor{white}{\fontsize{24}{25}\selectfont kg}};
\end{scope}
%
\begin{scope}[shift={(52,-\rsun-\delta)}]
\node [circle,fill=pluto,inner sep=0.2 cm] (pl) at (0,-\delta) {};
\draw [color=white, spring] (pl) -- (0,0);
\node at (0,-\delta-0.8) {\textcolor{white}{\fontsize{24}{25}\selectfont Plutone}};
\node at (-1,-\delta-1.8) {\textcolor{white}{\fontsize{24}{25}\selectfont 1.303 $\cdot$ 10}};
\node at (1.4,-\delta-1.4) {\textcolor{white}{\fontsize{12}{13}\selectfont 22}};
\node at (2.4,-\delta-1.9) {\textcolor{white}{\fontsize{24}{25}\selectfont kg}};
\end{scope}
%
\begin{scope}[shift={(26,-\rsun-\delta)}]
\draw [color=white,ultra thick] (-28,0) -- (28,0);
\end{scope}
%title
\begin{scope}[shift={(26,0)}]
\tkzDefPoint(0,0){S}
\tkzDrawSector[R,fill=white,ultra thick](S,\rsun cm)(180,360)
\draw [black,ultra thick,fill=title] (-25,4) rectangle (25,0);
\node at (0,2) {\textcolor{black}{\fontsize{90}{91}\selectfont I numeri del Sistema Solare}};
%
\node at (0,-7.5) {\textcolor{black}{\fontsize{24}{25}\selectfont Sole}};
\node at (0,-9) {\textcolor{black}{\fontsize{24}{25}\selectfont massa = 1.9891 $\cdot$ 10}};
\node at (4.8,-8.5) {\textcolor{black}{\fontsize{12}{13}\selectfont 30}};
\node at (5.7,-9.1) {\textcolor{black}{\fontsize{24}{25}\selectfont kg}};
\end{scope}
%
\begin{scope}[shift={(40,-\rsun-9*\delta)}]
\draw[black,ultra thick,fill=dida] (-14,0) rectangle (14,-4);
\node at (0,-1) {\textcolor{black}{\fontsize{24}{25}\selectfont Fissata a 1 la massa di Plutone, gli allungamenti delle molle,}};
\node at (0,-2) {\textcolor{black}{\fontsize{24}{25}\selectfont sono in scala logaritmica.}};
\node at (0,-3) {\textcolor{black}{\fontsize{24}{25}\selectfont Le dimensioni dei pianeti sono fissate uguali per tutti.}};
\end{scope}
%
\begin{scope}[shift={(35,-\rsun-9*\delta-5)}]
\node at (17,0) () {\includegraphics[width=3.7cm]{licenza_free_c}};
\node[left] at (15,0) {\textcolor{white}{\fontsize{14}{15}\selectfont Grafica: @ulaulaman - Gianluigi Filippelli}};
\end{scope}
\end{tikzpicture}
%
\end{document}