From 3fb953c21f9258fea8b4a0df8f80e2dc2e40acb6 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 29 Sep 2009 18:06:54 +0200 Subject: [PATCH] Make the box randomization scale with the box size. Previously, small boxes would sometimes be warped to much, causing content to fall out. --- Utils/Lambda.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2