From e585006ac3e32c16e063bba3a98c7b1ec3b15426 Mon Sep 17 00:00:00 2001 From: Zakarya Date: Wed, 19 Jun 2024 14:57:30 -0700 Subject: [PATCH] Basic Zakhats --- src/zakhat_line_black.asy | 10 ++++++++++ src/zakhat_solid_black.asy | 12 ++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/zakhat_line_black.asy create mode 100644 src/zakhat_solid_black.asy diff --git a/src/zakhat_line_black.asy b/src/zakhat_line_black.asy new file mode 100644 index 0000000..d58fae8 --- /dev/null +++ b/src/zakhat_line_black.asy @@ -0,0 +1,10 @@ +pen p=defaultpen+linewidth(2); // Set the pen width + +// Brim +draw((0,-10) .. (3.5,-13) .. (10,-15) -- (30,-15) .. (36.5,-13) .. (40,-10), p); + +// Top +draw((10,-15) -- (10,18) -- (30,18) -- (30,-15), p); + +// Belt +draw((10,-10) -- (30,-10), p); diff --git a/src/zakhat_solid_black.asy b/src/zakhat_solid_black.asy new file mode 100644 index 0000000..3d8060c --- /dev/null +++ b/src/zakhat_solid_black.asy @@ -0,0 +1,12 @@ +pen p=defaultpen+linewidth(2); // Set the pen width + +// Brim +draw((0,-10) .. (3.5,-13) .. (10,-15) -- (30,-15) .. (36.5,-13) .. (40,-10), p); + +// Top +//draw((10,-15) -- (10,18) -- (30,18) -- (30,-15), p); +filldraw(box((10,18), (30,-10)), drawpen=p); + +// Belt +//draw((10,-10) -- (30,-10), p); +draw(box((10,-10), (30,-15)), p);