Last active
October 24, 2019 14:36
-
-
Save ulaulaman/0c653d365917071bd51b3cf8d7a8b4e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Under Creative Commons Attribution licence 3.0 | |
% (http://creativecommons.org/licences/by/3.0) | |
% Author: Florian Lesaint | |
% http://www.texample.net/tikz/examples/cuboid/ | |
\documentclass{standalone} | |
\usepackage{tikz} | |
\usetikzlibrary{calc} | |
\usepackage{xcolor} | |
\definecolor{space}{HTML}{0A2543} | |
\definecolor{earth}{HTML}{0089FA} | |
\begin{document} | |
\begin{tikzpicture} | |
\begin{scope}[scale=4] | |
\draw [fill=space] (-5,3.5) rectangle (1.5,-0.5); | |
\draw [color=earth] (-5,2.75) -- (1.5,2.75); | |
%% Fuochi | |
\coordinate (P1) at (-12cm,2.75cm); % sx | |
\coordinate (P2) at (8cm,2.75cm); % dx | |
% | |
\coordinate (A1) at (-0.5,0); | |
\coordinate (A2) at (0,1); | |
\coordinate (A3) at (0.5,0); | |
\coordinate (A4) at (-0.5,1); | |
\coordinate (A5) at (0,2); | |
\coordinate (A6) at (0.5,1); | |
\coordinate (A7) at (0,2.5); | |
\coordinate (A8) at (0,3); | |
\coordinate (C) at (0,2.75); | |
% | |
\draw [ultra thick, color=white] (A1) -- (A2) -- (A3); | |
\draw [ultra thick, color=white] (A2) -- (A7); | |
\draw [ultra thick, color=white] (A4) -- (A5) -- (A6); | |
\draw [color=white,fill=white] | |
let \p1 = ($ (C) - (A7) $), | |
\n1 = {veclen(\x1,\y1)} | |
in (C) circle (\n1); | |
% | |
\coordinate (L1) at ($(P1)!.7!(A1)$); | |
\coordinate (L2) at ($(P1)!.7!(A2)$); | |
\coordinate (L3) at ($(P1)!.7!(A3)$); | |
\coordinate (L4) at ($(P1)!.7!(A4)$); | |
\coordinate (L5) at ($(P1)!.7!(A5)$); | |
\coordinate (L6) at ($(P1)!.7!(A6)$); | |
\coordinate (L7) at ($(P1)!.7!(A7)$); | |
\coordinate (L8) at ($(P1)!.7!(A8)$); | |
\coordinate (L) at ($(P1)!.7!(C)$); | |
% | |
\draw [ultra thick, color=white] (L1) -- (L2) -- (L3); | |
\draw [ultra thick, color=white] (L2) -- (L7); | |
\draw [ultra thick, color=white] (L4) -- (L5) -- (L6); | |
\draw [color=white,fill=white] | |
let \p1 = ($ (L) - (L7) $), | |
\n1 = {veclen(\x1,\y1)} | |
in (L) circle (\n1); | |
\end{scope} | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment