summaryrefslogtreecommitdiff
path: root/graphics/asymptote/examples/ring.asy
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/asymptote/examples/ring.asy
Initial commit
Diffstat (limited to 'graphics/asymptote/examples/ring.asy')
-rw-r--r--graphics/asymptote/examples/ring.asy4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/asymptote/examples/ring.asy b/graphics/asymptote/examples/ring.asy
new file mode 100644
index 0000000000..5fec60d4c0
--- /dev/null
+++ b/graphics/asymptote/examples/ring.asy
@@ -0,0 +1,4 @@
+size(0,100);
+path g=scale(2)*unitcircle;
+label("$a \le r \le b$");
+radialshade(unitcircle^^g,yellow+evenodd,(0,0),1.0,yellow+brown,(0,0),2);