From: Matthijs Kooijman Date: Tue, 29 Sep 2009 16:06:54 +0000 (+0200) Subject: Make the box randomization scale with the box size. X-Git-Tag: final-thesis~242 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=3fb953c21f9258fea8b4a0df8f80e2dc2e40acb6;p=matthijs%2Fmaster-project%2Freport.git Make the box randomization scale with the box size. Previously, small boxes would sometimes be warped to much, causing content to fall out. --- diff --git a/Utils/Lambda.tex b/Utils/Lambda.tex index 70c583d..2426178 100644 --- a/Utils/Lambda.tex +++ b/Utils/Lambda.tex @@ -8,7 +8,7 @@ path a, b; % Create a rectangle of the full size a := unitsquare xyscaled(\overlaywidth,\overlayheight); % Randomize it a bit -b := a randomized 10pt ; +b := a randomized (\overlaywidth / 25) ; % And draw it drawoptions (withpen pencircle scaled .75mm withcolor black) ; draw b;