-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
851c748
commit 925299a
Showing
17 changed files
with
948 additions
and
939 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
sections/geometrical-astronomy/dist-sizes.angular-size.tikz
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
\begin{tikzpicture} | ||
\tkzDefPoint(0,0){C} | ||
\tkzDefPoint(4,0){O} | ||
\tkzDefPointBy[homothety=center C ratio .25](O) \tkzGetPoint{U} | ||
|
||
\tkzDrawCircle[color=black, fill=gray!40, thick](C,U) | ||
\tkzDefLine[tangent from = O](C,U) \tkzGetPoints{I1}{I2} | ||
\tkzDrawSegments(C,I1 C,I2 C,O) | ||
\tkzDrawSegments[thick](O,I2 O,I1) | ||
\tkzMarkRightAngles[size=0.2](O,I1,C C,I2,O) | ||
\tkzMarkAngle[size=1.2](I2,O,C) | ||
\tkzMarkAngle[size=1.1](C,O,I1) | ||
|
||
\tkzLabelSegment[left](C,I1){$R$} | ||
\tkzLabelSegment[left](C,I2){$R$} | ||
\tkzLabelSegment[above](C,O){$r$} | ||
|
||
\DeclareCollectionInstance{angular-size-xfrac}{xfrac}{mathdefault}{math}{ | ||
denominator-bot-sep = -1pt, | ||
slash-symbol = \scalebox{0.9}{/}, | ||
numerator-bot-sep = 3pt, | ||
scaling = true, | ||
slash-right-mkern = -2 mu, | ||
slash-left-mkern = -1.5 mu | ||
} | ||
\UseCollection{xfrac}{angular-size-xfrac} | ||
|
||
\tkzLabelAngle[pos=1.5](I2,O,C){$\sfrac{\rho}{2}$} | ||
\tkzLabelAngle[pos=1.5](C,O,I1){$\sfrac{\rho}{2}$} | ||
|
||
\tkzDrawPoints(C, O, I1, I2) | ||
\end{tikzpicture} |
19 changes: 19 additions & 0 deletions
19
sections/geometrical-astronomy/dist-sizes.horizontal-parallax.tikz
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
\begin{tikzpicture} | ||
\tkzDefPoint(0,0){O} | ||
\tkzDefPoint(4,0){S} | ||
\tkzDefPointBy[homothety=center O ratio .25](S) \tkzGetPoint{X} | ||
\tkzDefPointBy[rotation=center O angle -90](X) \tkzGetPoint{C} | ||
|
||
\tkzDrawCircle[color=black, fill=gray!40, thick](C,O) | ||
|
||
\tkzDrawSegments[thick](O,S C,S) | ||
\tkzDrawSegments(C,O) | ||
\tkzMarkRightAngles[size=0.2](C,O,S) | ||
\tkzMarkAngle(O,S,C) | ||
|
||
\tkzLabelSegment[below](C,S){$r$} | ||
\tkzLabelSegment[left=-2pt](C,O){$R_\oplus$} | ||
\tkzLabelAngle[pos=1.3, font=\footnotesize](O,S,C){$p$} | ||
|
||
\tkzDrawPoints(C, O, S) | ||
\end{tikzpicture} |
22 changes: 22 additions & 0 deletions
22
sections/geometrical-astronomy/dist-sizes.scheme-of-parallax.tikz
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
\begin{tikzpicture} | ||
\tkzDefPoint(0,0){Sun} | ||
\tkzDefPoint(3,0){Star} | ||
\tkzDefPoint(0,1){E} | ||
|
||
\tkzLabelPoint[above](E){Земля} | ||
\tkzLabelPoint[below](Sun){Солнце} | ||
\tkzLabelPoint[below](Star){Звезда} | ||
|
||
\tkzDrawCircle[dashed, black, line width=.5pt](Sun,E) | ||
\tkzDrawPolygon[thick](Sun,Star,E) | ||
\tkzMarkRightAngle[size=0.2](Star,Sun,E) | ||
\tkzMarkAngle(E,Star,Sun) | ||
\tkzLabelAngle[font=\footnotesize, pos=1.2](E,Star,Sun){$p$} | ||
|
||
\earth(E) | ||
\sun(Sun) | ||
\pointStar(Star) | ||
|
||
\tkzLabelSegment[below](Sun,Star){$r$} | ||
\tkzLabelSegment[left=-2pt](Sun,E){1\,\text{а.\!\:е.}} | ||
\end{tikzpicture} |
This file contains 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
69 changes: 69 additions & 0 deletions
69
sections/geometrical-astronomy/eclipses.eclipses-circle-solar-eslipse.tikz
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
\begin{tikzpicture} | ||
\def\e{0} | ||
\def\m{-2.2} | ||
\def\s{-7.2} | ||
|
||
\def\earthR{0.7} | ||
\def\moonR{0.18} | ||
\def\sunR{1} | ||
|
||
\def\gap{0.2} | ||
|
||
\tkzInit[ | ||
xmax=\e + \earthR + \gap, | ||
xmin=\s - \sunR - \gap, | ||
ymin=-\sunR - \gap, | ||
ymax=\sunR + \gap | ||
] | ||
\tkzClip | ||
|
||
\tkzDefPoint(\e,0){E} | ||
\tkzDefPoint(\m,0){M} | ||
\tkzDefPoint(\s,0){S} | ||
|
||
\tkzDefShiftPoint[S](0,\sunR){S'} | ||
\tkzDefShiftPoint[M](0,\moonR){M'} | ||
\tkzDefShiftPoint[E](0,\earthR){E'} | ||
|
||
\def\shadeCornerCoef{\sunR / (\sunR - \moonR)} | ||
\tkzDefPointBy[homothety=center S ratio \shadeCornerCoef](M) | ||
\tkzGetPoint{SC} | ||
|
||
\def\halfShadowCornerCoef{\sunR / (\sunR + \moonR)} | ||
\tkzDefPointBy[homothety=center S ratio \halfShadowCornerCoef](M) | ||
\tkzGetPoint{HSC} | ||
|
||
\tkzDefLine[tangent from = SC](S,S') \tkzGetPoints{S1}{S2} | ||
\tkzDefLine[tangent from = SC](M,M') \tkzGetPoints{M1}{M2} | ||
\tkzDefLine[tangent from = HSC](S,S') \tkzGetPoints{HS1}{HS2} | ||
\tkzDefLine[tangent from = HSC](M,M') \tkzGetPoints{HM1}{HM2} | ||
|
||
\tkzInterLC(SC,S1)(E,E') \tkzGetSecondPoint{E1} | ||
\tkzInterLC(SC,S2)(E,E') \tkzGetFirstPoint{E2} | ||
|
||
\tkzGetVectxy(HSC,M){hs} | ||
\def\halfShadowCoef{(\e - \m + \hsx) / \hsx } | ||
\tkzDefPointBy[homothety=center HSC ratio \halfShadowCoef](HM1) | ||
\tkzGetPoint{HE1} | ||
\tkzDefPointBy[homothety=center HSC ratio \halfShadowCoef](HM2) | ||
\tkzGetPoint{HE2} | ||
|
||
\tkzDefPointBy[homothety=center SC ratio -1](M1) \tkzGetPoint{SC1} | ||
\tkzDefPointBy[homothety=center SC ratio -1](M2) \tkzGetPoint{SC2} | ||
|
||
\tkzDrawSector[fill=gray!30,gray!30](HSC,HE2)(HE1) | ||
\tkzDrawSector[fill=gray!70](SC,M2)(M1) | ||
\tkzDrawSector[fill=gray!50](SC,SC2)(SC1) | ||
\tkzDrawSector[fill=white](HSC,HM2)(HM1) | ||
|
||
\tkzDrawCircles[dashed, line width=.4pt](S,E E,M) | ||
|
||
\tkzDrawCircles[black, line width=.4pt, fill=white](S,S' M,M') | ||
\tkzDrawSegments(SC,S1 SC,S2 HS1,HE1 HS2,HE2) | ||
|
||
\tkzDrawCircles[black, line width=.4pt, fill=white, fill opacity=1](E,E') | ||
|
||
\tkzLabelPoint[inner sep=5mm](S){\tikz{\sun(S)}} | ||
\tkzLabelPoint(E){\tikz{\earth(E)}} | ||
\tkzLabelPoint(M){$\rightmoon$} | ||
\end{tikzpicture} |
103 changes: 103 additions & 0 deletions
103
sections/geometrical-astronomy/eclipses.eclipses-full-lunar-eclipse.tikz
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
\begin{tikzpicture} | ||
\footnotesize | ||
|
||
% Radius of the Sun | ||
\def\RS{1.5} | ||
|
||
% Radius of the Earth | ||
\def\RE{1} | ||
|
||
% Radius of the Moon | ||
\def\RM{0.4} | ||
|
||
% Earth orbit radius | ||
\def\AE{3} | ||
|
||
% Moon orbit radius | ||
\def\AM{1.7} | ||
|
||
% ALPHA | ||
\pgfmathsetmacro\ALPHA{asin((\RS - \RE) / \AE)} | ||
|
||
% BETA | ||
\pgfmathsetmacro\BETA{acos((\RE - \RM) / \AM)} | ||
|
||
% GAMMA | ||
\pgfmathsetmacro\GAMMA{90 - \ALPHA - \BETA} | ||
|
||
% Earth | ||
\tkzDefPoint(0,0){E} | ||
\tkzDefCircle[R](E,\RE) \tkzGetPoint{e} | ||
|
||
% Sun | ||
\tkzDefShiftPoint[E](-\AE,0){S} | ||
\tkzDefCircle[R](S,\RS) \tkzGetPoint{s} | ||
|
||
% Moon | ||
\tkzDefShiftPoint[E](\AM,0){m} | ||
\tkzDefPointBy[rotation=center E angle \GAMMA](m) \tkzGetPoint{M} | ||
\tkzDefCircle[R](M,\RM) \tkzGetPoint{m} | ||
|
||
% Intersection of Sun-Earth and common tangent to Sun and Earth | ||
\tkzDefPointBy[homothety=center S ratio (\RS / (\RS - \RE))](E) | ||
\tkzGetPoint{I} | ||
|
||
% Tangent points of the Sun | ||
\tkzDefLine[tangent from = I](S,s) \tkzGetPoints{S'}{x} | ||
\tkzDefPointBy[reflection = over S--E](S') \tkzGetPoint{S''} | ||
|
||
% Tangent points of the Earth | ||
\tkzDefLine[tangent from = I](E,e) \tkzGetPoints{E'}{x} | ||
\tkzDefPointBy[reflection = over S--E](E') \tkzGetPoint{E''} | ||
|
||
% Tangent point of the Moon | ||
\tkzDefLine[tangent from = I](M,m) \tkzGetPoints{x}{M'} | ||
|
||
% Projection of the center of the Moon to the radius of the Earth | ||
\tkzDefPointBy[projection=onto E--E''](M) \tkzGetPoint{I'} | ||
|
||
% Intersection of a normal to Sun-Earth at the center of the Earth with common tangent of Sun and Earth | ||
\tkzDefPointWith[orthogonal,K=-1](E,I) \tkzGetPoint{x} | ||
\tkzInterLL(E,x)(I,E'') \tkzGetPoint{I''} | ||
|
||
% Draw shadow | ||
\tkzDrawPolygon[fill=gray!70,draw=none](E',I,E'') | ||
|
||
% Draw objects | ||
\tkzDrawCircles[black, thick, fill=white](E,e) | ||
\tkzDrawCircles[black, thick, fill=white](S,s) | ||
\tkzDrawCircles[black, thick, fill=white](M,m) | ||
|
||
\begin{scope}[ | ||
dim style/.style={black, latex-latex, opacity=1}, | ||
dim fence style/.style={black, opacity=1} | ||
] | ||
\tkzDrawSegment[opacity=0, dim={$D$, -1.6cm, below=2pt}](S,E) | ||
\end{scope} | ||
|
||
\tkzDrawSegments(S,I E,M S,S' S,S'' E,E' E,E'' M,M' E,I'') | ||
\tkzDrawSegments[semithick](S',I S'',I) | ||
\tkzDrawSegments[dashed](M,I') | ||
|
||
\tkzMarkRightAngles[size=0.15](I,E',E E,E'',I I,S',S S,S'',I I'',E,S E'',M',M E,I',M) | ||
|
||
\tkzMarkAngle[arc=l, size=0.7](E'',E,I'') | ||
\tkzMarkAngle[arc=l, size=1.3](E'',I,E) | ||
\tkzLabelAngle[pos=1.5](E'',I,E){\footnotesize$\alpha$} | ||
|
||
\tkzMarkAngle[arc=ll, size=0.25](M,E,I') | ||
\tkzLabelAngle[pos=0.5](M,E,I'){\footnotesize$\beta$} | ||
|
||
\tkzMarkAngle[arc=lll, size=1.5](I,E,M) | ||
\tkzLabelAngle[pos=1.7](I,E,M){\footnotesize$\gamma$} | ||
|
||
\tkzDrawPoints(S, S', S'') | ||
\tkzDrawPoints(E, E', E'') | ||
\tkzDrawPoints(M, M') | ||
\tkzDrawPoints(I, I', I'') | ||
|
||
\tkzLabelSegment[right](S,S'){$R_0$} | ||
\tkzLabelSegment[right](E,E'){$R$} | ||
\tkzLabelSegment[right=-1pt,pos=0.4](M,M'){$r$} | ||
\tkzLabelSegment[above=-1pt,pos=0.45](E,M){$d$} | ||
\end{tikzpicture} |
Oops, something went wrong.