iditacards/iditaboard.tex
2019-08-25 10:44:54 -04:00

298 lines
13 KiB
TeX

\documentclass{iditacard}
% True size data
%
% 'Tile' diameter = 15mm
% TODO: Add legendary checkpoints logically (outside of legs)
\definecolor{stage_one}{HTML}{7FDF7D}
\definecolor{stage_two}{HTML}{9FB76F}
\definecolor{stage_three}{HTML}{5F5FFF}
\definecolor{stage_four}{HTML}{3FDFDF}
\definecolor{stage_five}{HTML}{DFDF3F}
\definecolor{stage_six}{HTML}{9F9F9F}
\definecolor{stage_seven}{HTML}{FF5F5F}
\definecolor{stage_eight}{HTML}{CF5FCF}
\def\cutlinet{12.7}
\def\cutlinel{-20.28}
\def\cutlineb{-12.7}
\def\cutliner{20.28}
\def\height{26.04}
\def\width{41.28}
\def\bottom{-13.02}
\def\left{-20.64}
\def\top{13.02}
\def\right{20.64}
\newcommand{\drawguides}{%
\draw [blue] (\cutlinel,\bottom) -- (\cutlinel,\top);
\draw [blue] (\cutliner,\bottom) -- (\cutliner,\top);
\draw [blue] (\left,\cutlinet) -- (\right,\cutlinet);
\draw [blue] (\left,\cutlineb) -- (\right,\cutlineb);
\draw [blue] (0,\bottom) -- (0,\top);
\draw [blue] (\left,0) -- (\right,0);
}
\newcommand{\sampletoken}{%
\fill [blue] (0,0) circle (0.75);
}
\newcommand{\track}{%
\scoped[shift={(-15.0,6.0)}]{\straightspace}
\scoped[shift={(-15.0,4.5)}]{\straightspace}
\scoped[shift={(-15.0,3.0)}]{\straightspace}
\scoped[shift={(-15.0,1.5)}]{\straightspace}
\scoped[shift={(-15.0,0.0)}]{\straightspace}
\scoped[shift={(-15.0,-1.5)}]{\straightspace}
\scoped[shift={(-15.0,-3.0)}]{\straightspace}
\scoped[shift={(-15.0,-4.5)}]{\straightspace}
\scoped[shift={(-15.0,-6.0)}]{\straightspace}
\scoped[shift={(-15.0,-7.5)}]{\straightspace}
\scoped[shift={(-15.0,-9.0)}]{\straightspace}
\scoped[shift={(-15.0,-10.5)}]{\Lspace}
\scoped[shift={(-13.5,-10.5)},rotate=90]{\straightspace}
\scoped[shift={(-12.0,-10.5)},rotate=90]{\Lspace}
\scoped[shift={(-12.0,-9.0)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,-7.5)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,-6.0)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,-4.5)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,-3.0)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,-1.5)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,0.0)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,1.5)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,3.0)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,4.5)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,6.0)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,7.5)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,9.0)},rotate=180]{\straightspace}
\scoped[shift={(-12.0,10.5)},yscale=-1.0]{\Lspace}
\scoped[shift={(-10.5,10.5)},rotate=90]{\straightspace}
\scoped[shift={(-9.0,10.5)},xscale=-1.0,rotate=-90]{\Lspace}
\scoped[shift={(-9.0,9.0)}]{\straightspace}
\scoped[shift={(-9.0,7.5)}]{\straightspace}
\scoped[shift={(-9.0,6.0)}]{\straightspace}
\scoped[shift={(-9.0,4.5)}]{\straightspace}
\scoped[shift={(-9.0,3.0)}]{\straightspace}
\scoped[shift={(-9.0,1.5)}]{\straightspace}
\scoped[shift={(-9.0,0.0)}]{\straightspace}
\scoped[shift={(-9.0,-1.5)}]{\straightspace}
\scoped[shift={(-9.0,-3.0)}]{\straightspace}
\scoped[shift={(-9.0,-4.5)}]{\straightspace}
\scoped[shift={(-9.0,-6.0)}]{\straightspace}
\scoped[shift={(-9.0,-7.5)}]{\straightspace}
\scoped[shift={(-9.0,-9.0)}]{\straightspace}
\scoped[shift={(-9.0,-10.5)}]{\Lspace}
\scoped[shift={(-7.5,-10.5)},rotate=90]{\straightspace}
\scoped[shift={(-6.0,-10.5)},rotate=90]{\Lspace}
\scoped[shift={(-6.0,-9.0)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,-7.5)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,-6.0)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,-4.5)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,-3.0)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,-1.5)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,0.0)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,1.5)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,3.0)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,4.5)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,6.0)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,7.5)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,9.0)},rotate=180]{\straightspace}
\scoped[shift={(-6.0,10.5)},yscale=-1.0]{\Lspace}
\scoped[shift={(-4.5,10.5)},rotate=90]{\straightspace}
\scoped[shift={(-3.0,10.5)},xscale=-1.0,rotate=-90]{\Lspace}
\scoped[shift={(-3.0,9.0)}]{\straightspace}
\scoped[shift={(-3.0,7.5)}]{\straightspace}
\scoped[shift={(-3.0,6.0)}]{\straightspace}
\scoped[shift={(-3.0,4.5)}]{\straightspace}
\scoped[shift={(-3.0,3.0)}]{\straightspace}
\scoped[shift={(-3.0,1.5)}]{\straightspace}
\scoped[shift={(-3.0,0.0)}]{\straightspace}
\scoped[shift={(-3.0,-1.5)}]{\straightspace}
\scoped[shift={(-3.0,-3.0)}]{\straightspace}
\scoped[shift={(-3.0,-4.5)}]{\straightspace}
\scoped[shift={(-3.0,-6.0)}]{\straightspace}
\scoped[shift={(-3.0,-7.5)}]{\straightspace}
\scoped[shift={(-3.0,-9.0)}]{\straightspace}
\scoped[shift={(-3.0,-10.5)}]{\Lspace}
\scoped[shift={(-1.5,-10.5)},rotate=90]{\straightspace}
\scoped[shift={(0.0,-10.5)},rotate=90]{\Lspace}
\scoped[shift={(0.0,-9.0)},rotate=180]{\straightspace}
\scoped[shift={(0.0,-7.5)},rotate=180]{\straightspace}
\scoped[shift={(0.0,-6.0)},rotate=180]{\straightspace}
\scoped[shift={(0.0,-4.5)},rotate=180]{\straightspace}
\scoped[shift={(0.0,-3.0)},rotate=180]{\straightspace}
\scoped[shift={(0.0,-1.5)},rotate=180]{\straightspace}
\scoped[shift={(0.0,0.0)},rotate=180]{\straightspace}
\scoped[shift={(0.0,1.5)},rotate=180]{\straightspace}
\scoped[shift={(0.0,3.0)},rotate=180]{\straightspace}
\scoped[shift={(0.0,4.5)},rotate=180]{\straightspace}
\scoped[shift={(0.0,6.0)},rotate=180]{\straightspace}
\scoped[shift={(0.0,7.5)},rotate=180]{\straightspace}
\scoped[shift={(0.0,9.0)},rotate=180]{\straightspace}
\scoped[shift={(0.0,10.5)},yscale=-1.0]{\Lspace}
\scoped[shift={(1.5,10.5)},rotate=90]{\straightspace}
\scoped[shift={(3.0,10.5)},xscale=-1.0,rotate=-90]{\Lspace}
\scoped[shift={(3.0,9.0)}]{\straightspace}
\scoped[shift={(3.0,7.5)}]{\straightspace}
\scoped[shift={(3.0,6.0)}]{\straightspace}
\scoped[shift={(3.0,4.5)}]{\straightspace}
\scoped[shift={(3.0,3.0)}]{\straightspace}
\scoped[shift={(3.0,1.5)}]{\straightspace}
\scoped[shift={(3.0,0.0)}]{\straightspace}
\scoped[shift={(3.0,-1.5)}]{\straightspace}
\scoped[shift={(3.0,-3.0)}]{\straightspace}
\scoped[shift={(3.0,-4.5)}]{\straightspace}
\scoped[shift={(3.0,-6.0)}]{\straightspace}
\scoped[shift={(3.0,-7.5)}]{\straightspace}
\scoped[shift={(3.0,-9.0)}]{\straightspace}
\scoped[shift={(3.0,-10.5)}]{\Lspace}
\scoped[shift={(4.5,-10.5)},rotate=90]{\straightspace}
\scoped[shift={(6.0,-10.5)},rotate=90]{\Lspace}
\scoped[shift={(6.0,-9.0)},rotate=180]{\straightspace}
\scoped[shift={(6.0,-7.5)},rotate=180]{\straightspace}
\scoped[shift={(6.0,-6.0)},rotate=180]{\straightspace}
\scoped[shift={(6.0,-4.5)},rotate=180]{\straightspace}
\scoped[shift={(6.0,-3.0)},rotate=180]{\straightspace}
\scoped[shift={(6.0,-1.5)},rotate=180]{\straightspace}
\scoped[shift={(6.0,0.0)},rotate=180]{\straightspace}
\scoped[shift={(6.0,1.5)},rotate=180]{\straightspace}
\scoped[shift={(6.0,3.0)},rotate=180]{\straightspace}
\scoped[shift={(6.0,4.5)},rotate=180]{\straightspace}
\scoped[shift={(6.0,6.0)},rotate=180]{\straightspace}
\scoped[shift={(6.0,7.5)},rotate=180]{\straightspace}
\scoped[shift={(6.0,9.0)},rotate=180]{\straightspace}
\scoped[shift={(6.0,10.5)},yscale=-1.0]{\Lspace}
\scoped[shift={(7.5,10.5)},rotate=90]{\straightspace}
\scoped[shift={(9.0,10.5)},xscale=-1.0,rotate=-90]{\Lspace}
\scoped[shift={(9.0,9.0)}]{\straightspace}
\scoped[shift={(9.0,7.5)}]{\straightspace}
\scoped[shift={(9.0,6.0)}]{\straightspace}
\scoped[shift={(9.0,4.5)}]{\straightspace}
\scoped[shift={(9.0,3.0)}]{\straightspace}
\scoped[shift={(9.0,1.5)}]{\straightspace}
\scoped[shift={(9.0,0.0)}]{\straightspace}
\scoped[shift={(9.0,-1.5)}]{\straightspace}
\scoped[shift={(9.0,-3.0)}]{\straightspace}
\scoped[shift={(9.0,-4.5)}]{\straightspace}
\scoped[shift={(9.0,-6.0)}]{\straightspace}
\scoped[shift={(9.0,-7.5)}]{\straightspace}
\scoped[shift={(9.0,-9.0)}]{\straightspace}
\scoped[shift={(9.0,-10.5)}]{\Lspace}
\scoped[shift={(10.5,-10.5)},rotate=90]{\straightspace}
\scoped[shift={(12.0,-10.5)},rotate=90]{\Lspace}
\scoped[shift={(12.0,-9.0)},rotate=180]{\straightspace}
\scoped[shift={(12.0,-7.5)},rotate=180]{\straightspace}
\scoped[shift={(12.0,-6.0)},rotate=180]{\straightspace}
\scoped[shift={(12.0,-4.5)},rotate=180]{\straightspace}
\scoped[shift={(12.0,-3.0)},rotate=180]{\straightspace}
\scoped[shift={(12.0,-1.5)},rotate=180]{\straightspace}
\scoped[shift={(12.0,0.0)},rotate=180]{\straightspace}
\scoped[shift={(12.0,1.5)},rotate=180]{\straightspace}
\scoped[shift={(12.0,3.0)},rotate=180]{\straightspace}
\scoped[shift={(12.0,4.5)},rotate=180]{\straightspace}
\scoped[shift={(12.0,6.0)},rotate=180]{\straightspace}
\scoped[shift={(12.0,7.5)},rotate=180]{\straightspace}
\scoped[shift={(12.0,9.0)},rotate=180]{\straightspace}
\scoped[shift={(12.0,10.5)},yscale=-1.0]{\Lspace}
\scoped[shift={(13.5,10.5)},rotate=90]{\straightspace}
\scoped[shift={(15.0,10.5)},xscale=-1.0,rotate=-90]{\Lspace}
\scoped[shift={(15.0,-6.0)},rotate=180]{\straightspace}
\scoped[shift={(15.0,-4.5)},rotate=180]{\straightspace}
\scoped[shift={(15.0,-3.0)},rotate=180]{\straightspace}
\scoped[shift={(15.0,-1.5)},rotate=180]{\straightspace}
\scoped[shift={(15.0,0.0)},rotate=180]{\straightspace}
\scoped[shift={(15.0,1.5)},rotate=180]{\straightspace}
\scoped[shift={(15.0,3.0)},rotate=180]{\straightspace}
\scoped[shift={(15.0,4.5)},rotate=180]{\straightspace}
\scoped[shift={(15.0,6.0)},rotate=180]{\straightspace}
\scoped[shift={(15.0,7.5)},rotate=180]{\straightspace}
\scoped[shift={(15.0,9.0)},rotate=180]{\straightspace}
}
% Draws a card overlay horizontally centered at 0,0 extending up
% Parameters are colour, text
\newcommand{\cardtrackindicator}[2]{%
\fill[#1] (-3.175,0) rectangle (3.175,8.89);
\node at (0,8.1) {\fontsize{24}{24}\bebas#2\par};
}
\newcommand{\drawdielegend}{%
\node at (0, 2.5) {\includegraphics[width=1cm]{icons/starve.png}};
\node at (-2.15, -1.25) {\includegraphics[width=1cm]{icons/hypo.png}};
\node at (2.15, -1.25) {\includegraphics[width=1cm]{icons/destroysupply.png}};
\node at (0, 1.5) {\includegraphics[width=1cm]{die/clouds.png}};
\node at (-1.3, -0.75) {\includegraphics[width=1cm]{die/snowflake.png}};
\node at (1.3, -0.75) {\includegraphics[width=1cm]{die/sun.png}};
\node at (1.3, 0.75) {\includegraphics[width=1cm]{die/storm.png}};
\node at (0, -1.5) {\includegraphics[width=1cm]{die/wind.png}};
\node at (-1.3, 0.75) {\includegraphics[width=1cm]{die/rain.png}};
}
\pgfdeclareradialshading{tikzlibfadecircle50}{\pgfpointorigin}{%
color(0mm)=(pgftransparent!0); color(0.5mm)=(pgftransparent!0);%
color(5mm)=(pgftransparent!100); color(10mm)=(pgftransparent!100)%
}
\pgfdeclarefading{fuzzy}{%
\pgfuseshading{tikzlibfadecircle50}%
}
\pgfdeclareplotmark{fuzz}{%
\scoped[shift={\pgfpointorigin}]{\fill[path fading=fuzzy] circle (\pgfplotmarksize);}%
}
\newcommand{\drawbackground}{%
\pgfmathsetseed{26}
\begin{scope}
\clip[use as bounding box] (0, 0) rectangle (\width, \height);
\begin{axis}[
x=\width cm, y=\height cm,
xmin=-1, xmax=1,
ymin=-1, ymax=1,
hide axis=true,
axis lines=none,
axis background/.style={fill=blue},
every axis label/.style={fill=blue},
ticklabel style={fill=blue},
draw opacity=0,
]
\addplot[white, only marks, mark=fuzz, samples=100, mark size=400.0] ({rand}, {rand});
\addplot[white, only marks, mark=fuzz, samples=100, mark size=300.0] ({rand}, {rand});
\addplot[white, only marks, mark=fuzz, samples=100, mark size=200.0] ({rand}, {rand});
\addplot[white, only marks, mark=fuzz, samples=100, mark size=100.0] ({rand}, {rand});
\end{axis}
\end{scope}
}
\begin{document}
\begin{board}
\scoped[shift={(\left,\bottom)}]{\drawbackground}
\scoped[shift={(-10.5,-3.75)},yscale=-1]{\cardtrackindicator{firstleg}{\rotatebox[origin=c]{180}{First Leg}}}
\scoped[shift={(-7.5,3.75)}]{\cardtrackindicator{firstleg}{Second Leg}}
\scoped[shift={(1.5,-3.75)},yscale=-1]{\cardtrackindicator{secondleg}{\rotatebox[origin=c]{180}{Third Leg}}}
\scoped[shift={(4.5,3.75)}]{\cardtrackindicator{secondleg}{Fourth Leg}}
\scoped[shift={(13.5,-3.75)},yscale=-1]{\cardtrackindicator{thirdleg}{\rotatebox[origin=c]{180}{Fifth Leg}}}
\scoped[shift={(16.5,3.75)}]{\cardtrackindicator{thirdleg}{Sixth Leg}}
\node at (-12, 0) {\includegraphics[width=1cm]{images/icons/legend.png}};
\node at (-9, 0) {\includegraphics[width=1cm]{images/icons/legend.png}};
\node at (-6, 0) {\includegraphics[width=1cm]{images/icons/legend.png}};
\node at (-3, 0) {\includegraphics[width=1cm]{images/icons/legend.png}};
\node at (-12.0,7.5) {\fontsize{24}{24}\bebas Start};
\node at (18.0,-7.5) {\fontsize{24}{24}\bebas End};
\scoped[shift={(-17,8)}]{\drawdielegend}
\scoped[shift={(-17,-6)}, rotate=90]{\node[transform shape] {\includegraphics{logotransparent.png}}}
\scoped[shift={(3,0)}]{\track}
\drawguides
\end{board}
\end{document}