Join Nostr
2024-10-28 18:15:47 UTC
in reply to

Leo C. Stein on Nostr: With the new code, outside and inside are programmed like this: \def\elevenGon{ (0,3) ...

With the new code, outside and inside are programmed like this:

\def\elevenGon{
(0,3) -- (-2,3) -- (-3,1) -- (-3, 0) -- (-2,-2)
-- (-1,-3) -- (1,-4) -- (3,-4) -- (4,-3) -- (4,-1)
-- (2,2) -- cycle
}

\draw[black, thick, fill=yellow, fill opacity=0.6] \elevenGon;

\draw[thick, blue, fill=green, fill opacity=0.6]
decorate[decoration=cut equilateral]
{ \elevenGon };

And yields the attached image. I can send you the updated code if you'd like!