summaryrefslogtreecommitdiff
path: root/graphics/asymptote/examples/yingyang.asy
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/examples/yingyang.asy')
-rw-r--r--graphics/asymptote/examples/yingyang.asy7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/asymptote/examples/yingyang.asy b/graphics/asymptote/examples/yingyang.asy
new file mode 100644
index 0000000000..68b0d0eea7
--- /dev/null
+++ b/graphics/asymptote/examples/yingyang.asy
@@ -0,0 +1,7 @@
+size(0,25cm);
+guide center=(0,1){W}..tension 0.8..(0,0){(1,-.5)}..tension 0.8..{W}(0,-1);
+
+draw((0,1)..(-1,0)..(0,-1));
+filldraw(center{E}..{N}(1,0)..{W}cycle);
+unfill(circle((0,0.5),0.125));
+fill(circle((0,-0.5),0.125));