% TODO: Normalize draw primitives to fixed size, then scale them in scopes \documentclass{iditacard} \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{1499.5/300.0} \def\cutlinel{-2395.5/300.0} \def\cutlineb{-1499.5/300.0} \def\cutliner{2395.5/300.0} \def\height{3075.0/300.0} \def\width{4875.0/300.0} \def\bottom{-1537.5/300.0} \def\left{-2437.5/300.0} \def\top{1537.5/300.0} \def\right{2437.5/300.0} \newcommand{\drawoverlay}{% \node [opacity=0.2, anchor=south west, inner sep=0mm, outer sep=0mm] at (\left,\bottom) {\includegraphics[angle=90, width=16.25in, height=10.25in] {bigmat.png}}; } \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); } % draw stretch foreground, background draws a stretch centered at 0,0 % Bounding box is: -415,-515 to 415,515 \newcommand{\drawstretch}[2]{% % Draw the background as a rectangle \fill [#2] (-400.0/300.0,-500.0/300.0) rectangle (400.0/300.0,500.0/300.0); % The path is 100 wide, (bottom) (top) % starts 50 units up, goes (0,50) (0,150) % right for 150 units, (150,50) (50,150) % up for 900 units, (150,850) (50,950) % right for 300 units, (250,850) (350,950) % down for 900 units, (250,50) (350,150) % right for 300 units, (550,50) (450,150) % up for 900 units, (550,850) (450,950) % right for 300 units, (650,850) (750,950) % down for 900 units, (650,50) (750,150) % right for 150 units. (800,50) (800,150) \fill [#1] (-400.0/300.0,-450.0/300.0) -- (-250.0/300.0,-450.0/300.0) -- (-250.0/300.0,350.0/300.0) -- (-150.0/300.0,350.0/300.0) -- (-150.0/300.0,-450.0/300.0) -- (150.0/300.0,-450.0/300.0) -- (150.0/300.0,350.0/300.0) -- (250.0/300.0,350.0/300.0) -- (250.0/300.0,-450.0/300.0) -- (400.0/300.0,-450.0/300.0) -- (400.0/300.0,-350.0/300.0) -- (350.0/300.0,-350.0/300.0) -- (350.0/300.0,450.0/300.0) -- (50.0/300.0,450.0/300.0) -- (50.0/300.0,-350.0/300.0) -- (-50.0/300.0,-350.0/300.0) -- (-50.0/300.0,450.0/300.0) -- (-350.0/300.0,450.0/300.0) -- (-350.0/300.0,-350.0/300.0) -- (-400.0/300.0,-350.0/300.0) -- cycle; % Draw the Walls - they stick out to the left % Draw the surrounding walls - they are 30 units wide \fill [black] (-415.0/300.0,-515.0/300.0) -- (400.0/300.0,-515.0/300.0) -- (400.0/300.0,-485.0/300.0) -- (215.0/300.0,-485.0/300.0) -- (215.0/300.0,315.0/300.0) -- (185.0/300.0,315.0/300.0) -- (185.0/300.0,-485.0/300.0) -- (-185.0/300.0,-485.0/300.0) -- (-185.0/300.0,315.0/300.0) -- (-215.0/300.0,315.0/300.0) -- (-215.0/300.0,-485.0/300.0) -- (-415.0/300.0,-485.0/300.0) -- cycle; \fill [black] (-385.0/300.0,-315.0/300.0) -- (-385.0/300.0,485.0/300.0) -- (-15.0/300.0,485.0/300.0) -- (-15.0/300.0,-315.0/300.0) -- (15.0/300.0,-315.0/300.0) -- (15.0/300.0,485.0/300.0) -- (385.0/300.0,485.0/300.0) -- (385.0/300.0,-315.0/300.0) -- (415.0/300.0,-315.0/300.0) -- (415.0/300.0,515.0/300.0) -- (-415.0/300.0,515.0/300.0) -- (-415.0/300.0,-315.0/300.0) -- cycle; % Draw the internal walls - they are 10x150 units % Verticals \fill [black] (-405.0/300.0,-475.0/300.0) rectangle (-395.0/300.0,-325.0/300.0); \fill [black] (-205.0/300.0,325.0/300.0) rectangle (-195.0/300.0,475.0/300.0); \fill [black] (-5.0/300.0,-475.0/300.0) rectangle (5.0/300.0,-325.0/300.0); \fill [black] (195.0/300.0,325.0/300.0) rectangle (205.0/300.0,475.0/300.0); \fill [black] (395.0/300.0,-475.0/300.0) rectangle (405.0/300.0,-325.0/300.0); % Horizontals \fill [black] (-375.0/300.0,-305.0/300.0) rectangle (-225.0/300.0,-295.0/300.0); \fill [black] (-375.0/300.0,-105.0/300.0) rectangle (-225.0/300.0,-95.0/300.0); \fill [black] (-375.0/300.0,95.0/300.0) rectangle (-225.0/300.0,105.0/300.0); \fill [black] (-375.0/300.0,295.0/300.0) rectangle (-225.0/300.0,305.0/300.0); \fill [black] (-175.0/300.0,-305.0/300.0) rectangle (-25.0/300.0,-295.0/300.0); \fill [black] (-175.0/300.0,-105.0/300.0) rectangle (-25.0/300.0,-95.0/300.0); \fill [black] (-175.0/300.0,95.0/300.0) rectangle (-25.0/300.0,105.0/300.0); \fill [black] (-175.0/300.0,295.0/300.0) rectangle (-25.0/300.0,305.0/300.0); \fill [black] (25.0/300.0,-305.0/300.0) rectangle (175.0/300.0,-295.0/300.0); \fill [black] (25.0/300.0,-105.0/300.0) rectangle (175.0/300.0,-95.0/300.0); \fill [black] (25.0/300.0,95.0/300.0) rectangle (175.0/300.0,105.0/300.0); \fill [black] (25.0/300.0,295.0/300.0) rectangle (175.0/300.0,305.0/300.0); \fill [black] (225.0/300.0,-305.0/300.0) rectangle (375.0/300.0,-295.0/300.0); \fill [black] (225.0/300.0,-105.0/300.0) rectangle (375.0/300.0,-95.0/300.0); \fill [black] (225.0/300.0,95.0/300.0) rectangle (375.0/300.0,105.0/300.0); \fill [black] (225.0/300.0,295.0/300.0) rectangle (375.0/300.0,305.0/300.0); } % draw mid stretch foreground, background draws a stretch centered at 0,0 % Bounding box is: -415,-515 to 415,515 \newcommand{\drawmidstretch}[2]{% % Draw the background as a rectangle \fill [#2] (-400.0/300.0,-500.0/300.0) rectangle (400.0/300.0,500.0/300.0); % The path is 100 wide, (bottom) (top) % starts 50 units up, goes (0,50) (0,150) % right for 150 units, (150,50) (50,150) % up for 900 units, (150,850) (50,950) % right for 300 units, (250,850) (350,950) % down for 900 units, (250,50) (350,150) % right for 300 units, (550,50) (450,150) % up for 900 units, (550,850) (450,950) % right for 300 units, (650,850) (750,950) % down for 950 units, (650,0) (750,0) \fill [#1] (-400.0/300.0,-450.0/300.0) -- (-250.0/300.0,-450.0/300.0) -- (-250.0/300.0,350.0/300.0) -- (-150.0/300.0,350.0/300.0) -- (-150.0/300.0,-450.0/300.0) -- (150.0/300.0,-450.0/300.0) -- (150.0/300.0,350.0/300.0) -- (250.0/300.0,350.0/300.0) -- (250.0/300.0,-500.0/300.0) -- (350.0/300.0,-500.0/300.0) -- (350.0/300.0,450.0/300.0) -- (50.0/300.0,450.0/300.0) -- (50.0/300.0,-350.0/300.0) -- (-50.0/300.0,-350.0/300.0) -- (-50.0/300.0,450.0/300.0) -- (-350.0/300.0,450.0/300.0) -- (-350.0/300.0,-350.0/300.0) -- (-400.0/300.0,-350.0/300.0) -- cycle; % Draw the Walls - they stick out to the left % Draw the surrounding walls - they are 30 units wide \fill [black] (-415.0/300.0,-515.0/300.0) -- (215.0/300.0,-515.0/300.0) -- (215.0/300.0,315.0/300.0) -- (185.0/300.0,315.0/300.0) -- (185.0/300.0,-485.0/300.0) -- (-185.0/300.0,-485.0/300.0) -- (-185.0/300.0,315.0/300.0) -- (-215.0/300.0,315.0/300.0) -- (-215.0/300.0,-485.0/300.0) -- (-415.0/300.0,-485.0/300.0) -- cycle; \fill [black] (-385.0/300.0,-315.0/300.0) -- (-385.0/300.0,485.0/300.0) -- (-15.0/300.0,485.0/300.0) -- (-15.0/300.0,-315.0/300.0) -- (15.0/300.0,-315.0/300.0) -- (15.0/300.0,485.0/300.0) -- (385.0/300.0,485.0/300.0) -- (385.0/300.0,-515.0/300.0) -- (415.0/300.0,-515.0/300.0) -- (415.0/300.0,515.0/300.0) -- (-415.0/300.0,515.0/300.0) -- (-415.0/300.0,-315.0/300.0) -- cycle; % Draw the internal walls - they are 10x150 units % Verticals \fill [black] (-405.0/300.0,-475.0/300.0) rectangle (-395.0/300.0,-325.0/300.0); \fill [black] (-205.0/300.0,325.0/300.0) rectangle (-195.0/300.0,475.0/300.0); \fill [black] (-5.0/300.0,-475.0/300.0) rectangle (5.0/300.0,-325.0/300.0); \fill [black] (195.0/300.0,325.0/300.0) rectangle (205.0/300.0,475.0/300.0); % Horizontals \fill [black] (-375.0/300.0,-305.0/300.0) rectangle (-225.0/300.0,-295.0/300.0); \fill [black] (-375.0/300.0,-105.0/300.0) rectangle (-225.0/300.0,-95.0/300.0); \fill [black] (-375.0/300.0,95.0/300.0) rectangle (-225.0/300.0,105.0/300.0); \fill [black] (-375.0/300.0,295.0/300.0) rectangle (-225.0/300.0,305.0/300.0); \fill [black] (-175.0/300.0,-305.0/300.0) rectangle (-25.0/300.0,-295.0/300.0); \fill [black] (-175.0/300.0,-105.0/300.0) rectangle (-25.0/300.0,-95.0/300.0); \fill [black] (-175.0/300.0,95.0/300.0) rectangle (-25.0/300.0,105.0/300.0); \fill [black] (-175.0/300.0,295.0/300.0) rectangle (-25.0/300.0,305.0/300.0); \fill [black] (25.0/300.0,-305.0/300.0) rectangle (175.0/300.0,-295.0/300.0); \fill [black] (25.0/300.0,-105.0/300.0) rectangle (175.0/300.0,-95.0/300.0); \fill [black] (25.0/300.0,95.0/300.0) rectangle (175.0/300.0,105.0/300.0); \fill [black] (25.0/300.0,295.0/300.0) rectangle (175.0/300.0,305.0/300.0); \fill [black] (225.0/300.0,-505.0/300.0) rectangle (375.0/300.0,-495.0/300.0); \fill [black] (225.0/300.0,-305.0/300.0) rectangle (375.0/300.0,-295.0/300.0); \fill [black] (225.0/300.0,-105.0/300.0) rectangle (375.0/300.0,-95.0/300.0); \fill [black] (225.0/300.0,95.0/300.0) rectangle (375.0/300.0,105.0/300.0); \fill [black] (225.0/300.0,295.0/300.0) rectangle (375.0/300.0,305.0/300.0); } % Draws the racetrack itself with speed markers at (0,0) % Bounding box is (-1615.5,-1215.5) to (1615.5,1215.5) \newcommand{\drawrace}{% \scoped[shift={(-1200.5/300.0,500.5/300.0)}]{\drawstretch{stage_one}{stage_eight}} \scoped[shift={(-400.5/300.0,500.5/300.0)}]{\drawstretch{stage_two}{stage_seven}} \scoped[shift={(400.5/300.0,500.5/300.0)}]{\drawstretch{stage_three}{stage_six}} \scoped[shift={(1200.5/300.0,500.5/300.0)}]{\drawmidstretch{stage_four}{stage_five}} \scoped[shift={(1200.5/300.0,-500.5/300.0)},yscale=-1]{\drawmidstretch{stage_five}{stage_four}} \scoped[shift={(400.5/300.0,-500.5/300.0)},yscale=-1,xscale=-1]{\drawstretch{stage_six}{stage_three}} \scoped[shift={(-400.5/300.0,-500.5/300.0)},yscale=-1,xscale=-1]{\drawstretch{stage_seven}{stage_two}} \scoped[shift={(-1200.5/300.0,-500.5/300.0)},yscale=-1,xscale=-1]{\drawstretch{stage_eight}{stage_one}} % Draw the speed rules \fill [black] (-1615.5/300.0,1015.5/300.0) rectangle (-1585.5/300.0,1215.5/300.0); \fill [black] (-1415.5/300.0,1015.5/300.0) rectangle (-1385.5/300.0,1215.5/300.0); \fill [black] (-1215.5/300.0,1015.5/300.0) rectangle (-1185.5/300.0,1215.5/300.0); \fill [black] (-1015.5/300.0,1015.5/300.0) rectangle (-985.5/300.0,1215.5/300.0); \fill [black] (-815.5/300.0,1015.5/300.0) rectangle (-785.5/300.0,1215.5/300.0); \fill [black] (-615.5/300.0,1015.5/300.0) rectangle (-585.5/300.0,1215.5/300.0); \fill [black] (-415.5/300.0,1015.5/300.0) rectangle (-385.5/300.0,1215.5/300.0); \fill [black] (-215.5/300.0,1015.5/300.0) rectangle (-185.5/300.0,1215.5/300.0); \fill [black] (-15.5/300.0,1015.5/300.0) rectangle (15.5/300.0,1215.5/300.0); \fill [black] (185.5/300.0,1015.5/300.0) rectangle (215.5/300.0,1215.5/300.0); \fill [black] (385.5/300.0,1015.5/300.0) rectangle (415.5/300.0,1215.5/300.0); \fill [black] (585.5/300.0,1015.5/300.0) rectangle (615.5/300.0,1215.5/300.0); \fill [black] (785.5/300.0,1015.5/300.0) rectangle (815.5/300.0,1215.5/300.0); \fill [black] (985.5/300.0,1015.5/300.0) rectangle (1015.5/300.0,1215.5/300.0); \fill [black] (1185.5/300.0,1015.5/300.0) rectangle (1215.5/300.0,1215.5/300.0); \fill [black] (1385.5/300.0,1015.5/300.0) rectangle (1415.5/300.0,1215.5/300.0); \fill [black] (1585.5/300.0,1015.5/300.0) rectangle (1615.5/300.0,1215.5/300.0); \fill [black] (-1615.5/300.0,-1215.5/300.0) rectangle (-1585.5/300.0,-1015.5/300.0); \fill [black] (-1415.5/300.0,-1215.5/300.0) rectangle (-1385.5/300.0,-1015.5/300.0); \fill [black] (-1215.5/300.0,-1215.5/300.0) rectangle (-1185.5/300.0,-1015.5/300.0); \fill [black] (-1015.5/300.0,-1215.5/300.0) rectangle (-985.5/300.0,-1015.5/300.0); \fill [black] (-815.5/300.0,-1215.5/300.0) rectangle (-785.5/300.0,-1015.5/300.0); \fill [black] (-615.5/300.0,-1215.5/300.0) rectangle (-585.5/300.0,-1015.5/300.0); \fill [black] (-415.5/300.0,-1215.5/300.0) rectangle (-385.5/300.0,-1015.5/300.0); \fill [black] (-215.5/300.0,-1215.5/300.0) rectangle (-185.5/300.0,-1015.5/300.0); \fill [black] (-15.5/300.0,-1215.5/300.0) rectangle (15.5/300.0,-1015.5/300.0); \fill [black] (185.5/300.0,-1215.5/300.0) rectangle (215.5/300.0,-1015.5/300.0); \fill [black] (385.5/300.0,-1215.5/300.0) rectangle (415.5/300.0,-1015.5/300.0); \fill [black] (585.5/300.0,-1215.5/300.0) rectangle (615.5/300.0,-1015.5/300.0); \fill [black] (785.5/300.0,-1215.5/300.0) rectangle (815.5/300.0,-1015.5/300.0); \fill [black] (985.5/300.0,-1215.5/300.0) rectangle (1015.5/300.0,-1015.5/300.0); \fill [black] (1185.5/300.0,-1215.5/300.0) rectangle (1215.5/300.0,-1015.5/300.0); \fill [black] (1385.5/300.0,-1215.5/300.0) rectangle (1415.5/300.0,-1015.5/300.0); \fill [black] (1585.5/300.0,-1215.5/300.0) rectangle (1615.5/300.0,-1015.5/300.0); % Add the numbers \node [align=center, font=\fontsize{24}{0}\bebas] at (-1500.5/300.0,1115.5/300.0) {-5}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-1300.5/300.0,1115.5/300.0) {-4}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-1100.5/300.0,1115.5/300.0) {-3}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-900.5/300.0,1115.5/300.0) {-2}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-700.5/300.0,1115.5/300.0) {-1}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-500.5/300.0,1115.5/300.0) {0}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-300.5/300.0,1115.5/300.0) {+1}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-100.5/300.0,1115.5/300.0) {+2}; \node [align=center, font=\fontsize{24}{0}\bebas] at (100.5/300.0,1115.5/300.0) {+3}; \node [align=center, font=\fontsize{24}{0}\bebas] at (300.5/300.0,1115.5/300.0) {+4}; \node [align=center, font=\fontsize{24}{0}\bebas] at (500.5/300.0,1115.5/300.0) {+5}; \node [align=center, font=\fontsize{24}{0}\bebas] at (700.5/300.0,1115.5/300.0) {+6}; \node [align=center, font=\fontsize{24}{0}\bebas] at (900.5/300.0,1115.5/300.0) {+7}; \node [align=center, font=\fontsize{24}{0}\bebas] at (1100.5/300.0,1115.5/300.0) {+8}; \node [align=center, font=\fontsize{24}{0}\bebas] at (1300.5/300.0,1115.5/300.0) {+9}; \node [align=center, font=\fontsize{24}{0}\bebas] at (1500.5/300.0,1115.5/300.0) {+10}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-1500.5/300.0,-1115.5/300.0) {-50}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-1300.5/300.0,-1115.5/300.0) {-40}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-1100.5/300.0,-1115.5/300.0) {-30}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-900.5/300.0,-1115.5/300.0) {-20}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-700.5/300.0,-1115.5/300.0) {-10}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-500.5/300.0,-1115.5/300.0) {0}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-300.5/300.0,-1115.5/300.0) {+10}; \node [align=center, font=\fontsize{24}{0}\bebas] at (-100.5/300.0,-1115.5/300.0) {+20}; \node [align=center, font=\fontsize{24}{0}\bebas] at (100.5/300.0,-1115.5/300.0) {+30}; \node [align=center, font=\fontsize{24}{0}\bebas] at (300.5/300.0,-1115.5/300.0) {+40}; \node [align=center, font=\fontsize{24}{0}\bebas] at (500.5/300.0,-1115.5/300.0) {+50}; \node [align=center, font=\fontsize{24}{0}\bebas] at (700.5/300.0,-1115.5/300.0) {+60}; \node [align=center, font=\fontsize{24}{0}\bebas] at (900.5/300.0,-1115.5/300.0) {+70}; \node [align=center, font=\fontsize{24}{0}\bebas] at (1100.5/300.0,-1115.5/300.0) {+80}; \node [align=center, font=\fontsize{24}{0}\bebas] at (1300.5/300.0,-1115.5/300.0) {+90}; \node [align=center, font=\fontsize{24}{0}\bebas] at (1500.5/300.0,-1115.5/300.0) {+100}; % Add the checkpoints \node [align=center] at (-1500.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoint.png}}; \node [align=center] at (-700.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoint.png}}; \node [align=center] at (100.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoint.png}}; \node [align=center] at (900.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoint.png}}; \node [align=center] at (1500.5/300.0,-100.5/300.0) {\includegraphics{images/rules/checkpoint.png}}; } % Draws an empty stretch centered on (0,0) % Bounding box is (-375.0,-262.5) to (375.0,262.5) \newcommand{\emptystage}[2]{% \fill [left color=#2, right color=#1] (-375.0/300.0,-262.5/300.0) rectangle (375.0/300.0,262.5/300.0); \fill [rounded corners=10pt] [#1] (-325.0/300.0,-212.5/300.0) rectangle (-25.0/300.0,222.5/300.0); \fill [rounded corners=10pt] [#2] (25.0/300.0,-212.5/300.0) rectangle (325.0/300.0,222.5/300.0); } % Draws a 5x5 checker pattern of 30x30 squares centered on (0,0) % Bounding box is (-75.0,-75.0) to (75.0,75.0) \newcommand{\drawchecker}{% % Top row \fill [black] (45.0/300.0,45.0/300.0) rectangle (75.0/300.0,75.0/300.0); \fill [white] (15.0/300.0,45.0/300.0) rectangle (45.0/300.0,75.0/300.0); \fill [black] (-15.0/300.0,45.0/300.0) rectangle (15.0/300.0,75.0/300.0); \fill [white] (-45.0/300.0,45.0/300.0) rectangle (-15.0/300.0,75.0/300.0); \fill [black] (-75.0/300.0,45.0/300.0) rectangle (-45.0/300.0,75.0/300.0); % High row \fill [white] (45.0/300.0,15.0/300.0) rectangle (75.0/300.0,45.0/300.0); \fill [black] (15.0/300.0,15.0/300.0) rectangle (45.0/300.0,45.0/300.0); \fill [white] (-15.0/300.0,15.0/300.0) rectangle (15.0/300.0,45.0/300.0); \fill [black] (-45.0/300.0,15.0/300.0) rectangle (-15.0/300.0,45.0/300.0); \fill [white] (-75.0/300.0,15.0/300.0) rectangle (-45.0/300.0,45.0/300.0); % Center row \fill [black] (45.0/300.0,-15.0/300.0) rectangle (75.0/300.0,15.0/300.0); \fill [white] (15.0/300.0,-15.0/300.0) rectangle (45.0/300.0,15.0/300.0); \fill [black] (-15.0/300.0,-15.0/300.0) rectangle (15.0/300.0,15.0/300.0); \fill [white] (-45.0/300.0,-15.0/300.0) rectangle (-15.0/300.0,15.0/300.0); \fill [black] (-75.0/300.0,-15.0/300.0) rectangle (-45.0/300.0,15.0/300.0); % Low row \fill [white] (45.0/300.0,-45.0/300.0) rectangle (75.0/300.0,-15.0/300.0); \fill [black] (15.0/300.0,-45.0/300.0) rectangle (45.0/300.0,-15.0/300.0); \fill [white] (-15.0/300.0,-45.0/300.0) rectangle (15.0/300.0,-15.0/300.0); \fill [black] (-45.0/300.0,-45.0/300.0) rectangle (-15.0/300.0,-15.0/300.0); \fill [white] (-75.0/300.0,-45.0/300.0) rectangle (-45.0/300.0,-15.0/300.0); % Bottom row \fill [black] (45.0/300.0,-75.0/300.0) rectangle (75.0/300.0,-45.0/300.0); \fill [white] (15.0/300.0,-75.0/300.0) rectangle (45.0/300.0,-45.0/300.0); \fill [black] (-15.0/300.0,-75.0/300.0) rectangle (15.0/300.0,-45.0/300.0); \fill [white] (-45.0/300.0,-75.0/300.0) rectangle (-15.0/300.0,-45.0/300.0); \fill [black] (-75.0/300.0,-75.0/300.0) rectangle (-45.0/300.0,-45.0/300.0); } % Draws the hypothermia chart centered on (0,0) % Bounding box is (?,?) to (?,?) \newcommand{\drawhypochart}{% \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,-600.0/300.0) {\speed{-1}}; \fill [energy, rounded corners] (-150.0/300.0,-490.0/300.0) rectangle (150.0/300.0,-460.0/300.0); \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,-350.0/300.0) {\includegraphics[width=0.75in,height=0.75in]{icons/hand.png}}; \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,-350.0/300.0) {+1}; \fill [energy, rounded corners] (-150.0/300.0,-240.0/300.0) rectangle (150.0/300.0,-210.0/300.0); \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,-100.0/300.0) {\speed{-1}}; \fill [energy, rounded corners] (-150.0/300.0,-10.0/300.0) rectangle (150.0/300.0,20.0/300.0); \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,150.0/300.0) {\includegraphics[width=0.75in,height=0.75in]{icons/hand.png}}; \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,150.0/300.0) {+1}; \fill [energy, rounded corners] (-150.0/300.0,260.0/300.0) rectangle (150.0/300.0,290.0/300.0); \node [anchor=center, font=\fontsize{24}{0}\bebas] at (0,400.0/300.0) {\speed{-1}}; % TODO } \newcommand{\drawstarvechart}{% % TODO } \newcommand{\drawhypostarvechart}{% \drawhypochart \drawstarvechart % TODO } \begin{document} \begin{board} % Draw the race \scoped[shift={(0,0)}]{\drawrace} % Draw the Stages \scoped[shift={(2005.5/300.0,953.0/300.0)}]{\emptystage{stage_one}{stage_eight}} \scoped[shift={(2005.5/300.0,317.6/300.0)}]{\emptystage{stage_two}{stage_seven}} \scoped[shift={(2005.5/300.0,-317.6/300.0)}]{\emptystage{stage_three}{stage_six}} \scoped[shift={(2005.5/300.0,-953.0/300.0)}]{\emptystage{stage_four}{stage_five}} % Draw the Start/End \scoped[shift={(-1690.5/300.0,-100.5/300.0)}]{\drawchecker} \node [anchor=east, inner sep=0mm, font=\fontsize{24}{0}\bebas] at (-1615.5/300.0,100.5/300.0) {Start}; \scoped[shift={(-1800.0/300.0,-700.0/300.0)}]{\drawhypostarvechart} % TODO: Remove these, they are for 'debugging' \drawoverlay \drawguides \end{board} \end{document}