$ystop = int($xstop + $tick_length*sin($drawn_angle*$deg2rad));