<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fun With SAS ODS Graphics: 4-Circle Easter Bunny in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-4-Circle-Easter-Bunny/m-p/869928#M23684</link>
    <description>&lt;P&gt;TC - truly a man for all seasons!&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 23:34:32 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2023-04-14T23:34:32Z</dc:date>
    <item>
      <title>Fun With SAS ODS Graphics: 4-Circle Easter Bunny</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-4-Circle-Easter-Bunny/m-p/868740#M23643</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EasterBunny.png" style="width: 480px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/82429i50D97085D512A569/image-size/large?v=v2&amp;amp;px=999" role="button" title="EasterBunny.png" alt="EasterBunny.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inspired by &lt;EM&gt;Make Something Pretty&lt;/EM&gt;'s cute &lt;A href="https://mailsomethingpretty.com/create-a-bunny-out-of-circles" target="_self"&gt;Create a Bunny out of Circles Craft Project&lt;/A&gt; post - and in particular its accompanying &lt;A href="https://www.bbc.com/future/article/20180403-inside-the-world-of-instruction-manuals" target="_self"&gt;Ikea-like&lt;/A&gt; wordless instructions - here comes Peter Cottontail. Have a Happy Easter, all!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun w/SAS ODS Graphics: 4-Circle Easter Bunny
  SAS ODS Graphics take on Make Something Pretty's cute "Create a Bunny out of Circles" Craft Project
  https://mailsomethingpretty.com/create-a-bunny-out-of-circles;

data easterbunny;                                                                                                * Create a "dummy" point for plotting;
retain x 2.5 y 2.5  msg ""; 

ods graphics / height=5in width=5in;                                                                              * 5" square image;
proc sgplot data=easterbunny nowall noautolegend aspect=1 pad=0;                                                  * Here comes Peter Cottontail!;
styleattrs backcolor=pappk;                                                                                       * Pale pink Easter-ish background; 

* 1. Plot left and right bunny ears first (circle segments);
ellipseparm semimajor=.6875 semiminor=.6875 / slope=1 xorigin=2.3625 yorigin=4 fill fillattrs=(color=black);      * 1 3/8" black circle for left/right bunny ears;
lineparm slope=. x=2.240625 y=2.5 / clip lineattrs=(color=pappk pattern=shortdash thickness=2pt);                 * Dashed vertical line to indicate circle is to be cut to get left ear;          
lineparm slope=. x=2.484375 y=2.5 / clip lineattrs=(color=pappk pattern=shortdash thickness=2pt);                 * Dashed vertical line to indicate circle is to be cut to get right ear;
ellipseparm semimajor=.6875 semiminor=.6875 / slope=1 xorigin=1.8125 yorigin=2.3125 fill fillattrs=(color=black); * Start with whole circle for left bunny ear;
ellipseparm semimajor=.6875 semiminor=.6875 / slope=1 xorigin=3.1875 yorigin=2.3125 fill fillattrs=(color=black); * Start with whole circle for right bunny ear;
lineparm slope=-1.6 x=1 y=2.5 / clip lineattrs=(color=pappk thickness=108pt);                                     * Use thick line to "crop" left bunny ear to get circle segment;   
lineparm slope=1.6 x=4 y=2.5 / clip lineattrs=(color=pappk thickness=108pt);                                      * Use thick line to "crop" right bunny ear to get circle segment;          

* 2. Display rest of circle "parts list" at top of image;
ellipseparm semimajor=.6875 semiminor=.6875 / slope=1 xorigin=0.8375 yorigin=4 fill fillattrs=(color=black);      * 1 3/8" black circle for bunny body;
ellipseparm semimajor=.5 semiminor=.5 / slope=1 xorigin=3.7 yorigin=4 fill fillattrs=(color=black);               * 1" black circle for bunny head;
ellipseparm semimajor=.25 semiminor=.25 / slope=1 xorigin=4.6 yorigin=4 fill fillattrs=(color=white);             * 1/2" white circle for bunny tail;

* 3. Draw rest of bunny (head, body, tail);
ellipseparm semimajor=.6875 semiminor=.6875 / slope=1 xorigin=2.5 yorigin=1 fill fillattrs=(color=black);         * Bunny body;
ellipseparm semimajor=.5 semiminor=.5 / slope=1 xorigin=2.5 yorigin=1.85 fill fillattrs=(color=black);            * Bunny head;
ellipseparm semimajor=.25 semiminor=.25 / slope=1 xorigin=2.5 yorigin=.85 fill fillattrs=(color=white);           * Bunny tail;

text x=x y=y text=msg;                                                                                            * Just a "dummy" point (needed for plotting ellipses);
inset "Happy" "Easter!" / noborder textattrs=(color=white weight=bold size=18pt) position=bottomleft;             * Send Easter greetings; 
inset "2023" / noborder textattrs=(color=white weight=bold size=18pt) position=bottomright;                       * With INSET statements; 

xaxis display=none values=(0 to 5 by 5) offsetmin=0 offsetmax=0;                                                  * Hide and scale x-axis;
yaxis display=none  values=(0 to 5 by 5) offsetmin=0 offsetmax=0;                                                 * Hide and scale y-axis;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2023 07:07:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-4-Circle-Easter-Bunny/m-p/868740#M23643</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2023-04-09T07:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Fun With SAS ODS Graphics: 4-Circle Easter Bunny</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-4-Circle-Easter-Bunny/m-p/869928#M23684</link>
      <description>&lt;P&gt;TC - truly a man for all seasons!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 23:34:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-4-Circle-Easter-Bunny/m-p/869928#M23684</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2023-04-14T23:34:32Z</dc:date>
    </item>
  </channel>
</rss>

