Quadrati che raddoppiano

Grafica per i video sul canale YouTube di Edu INAF
This commit is contained in:
ulaulaman 2020-07-05 12:28:53 +02:00
parent 49296661db
commit 9448586dfe
2 changed files with 52 additions and 0 deletions

BIN
graphics/pdf/squares02.pdf Normal file

Binary file not shown.

52
graphics/squares02.tex Normal file
View File

@ -0,0 +1,52 @@
\documentclass{standalone}
%
\usepackage{tikz}
\usetikzlibrary{backgrounds}
%
\usetikzlibrary{bending,arrows.meta}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usepackage{xcolor}
%
\definecolor{space}{HTML}{0A2543}
\definecolor{mars}{HTML}{DC7B4E}
\definecolor{title}{HTML}{FBA706}
\definecolor{lsb}{HTML}{D8603E}
%
\usepackage{fontspec}
\setmainfont{Open Dyslexic}
%
\title{Squares}
\begin{document}
\begin{tikzpicture}[background rectangle/.style={fill=black},show background rectangle]
%
\begin{scope}
\tkzDefPoint(0,0){A}
\tkzDefPoint(8,0){B}
\tkzDefSquare(A,B)
\tkzDrawSquare[color=white,fill=space](A,B)
\end{scope}
%
\begin{scope}[shift={(6,2)}, scale=2, rotate around={30:(6,2)}]
\tkzDefPoint(0,0){A}
\tkzDefPoint(8,0){B}
\tkzDefSquare(A,B)
\tkzDrawSquare[color=white,fill=lsb,opacity=0.8](A,B)
\end{scope}
%
\begin{scope}[shift={(6,4)}, scale=4, rotate around={60:(6,4)}]
\tkzDefPoint(0,0){A}
\tkzDefPoint(8,0){B}
\tkzDefSquare(A,B)
\tkzDrawSquare[color=white,fill=mars,opacity=0.6](A,B)
\end{scope}
%
\begin{scope}[shift={(6,6)}, scale=8, rotate around={75:(6,6)}]
\tkzDefPoint(0,0){A}
\tkzDefPoint(8,0){B}
\tkzDefSquare(A,B)
\tkzDrawSquare[color=white,fill=title,opacity=0.4](A,B)
\end{scope}
%
\end{tikzpicture}
\end{document}