<?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: O(DS) Christmas Tree in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/O-DS-Christmas-Tree/m-p/240194#M8742</link>
    <description>&lt;P&gt;Very cool, indeed.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2015 01:58:29 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2015-12-21T01:58:29Z</dc:date>
    <item>
      <title>O(DS) Christmas Tree</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/O-DS-Christmas-Tree/m-p/240189#M8741</link>
      <description>&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1276iD7E9663C43334055/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="OdsXmasTree.png" title="OdsXmasTree.png" /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data xmastree;
r=4; h=11.25;
a=arsin(r/(r**2+h**2)**.5);
do y=-r to r by .02;
  do x=-r to r by .02;
    z=h-(x**2+y**2)**.5/sin(a)*cos(a);
    if (x**2+y**2)**.5&amp;gt;4 | 1.25&amp;lt;z&amp;lt;2|3.25&amp;lt;z&amp;lt;4|5.25&amp;lt;z&amp;lt;6|7.25&amp;lt;z&amp;lt;8|9.25&amp;lt;z&amp;lt;10 then z=.; 
    output;
  end;
end;

proc template;
define statgraph xmastree;
begingraph;
drawtext textattrs=(size=50pt COLOR=gold FAMILY="Arial Unicode MS") {unicode "2605"x} /
         anchor=topleft widthunit=percent x=46.5 y=99 justify=center ;
layout overlay3d / cube=false;
surfaceplotparm x=x y=y z=z / fillattrs=(color=forestgreen);
endlayout;
endgraph;
end;

proc sgrender data=xmastree template=xmastree;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Dec 2015 00:15:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/O-DS-Christmas-Tree/m-p/240189#M8741</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2015-12-21T00:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: O(DS) Christmas Tree</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/O-DS-Christmas-Tree/m-p/240194#M8742</link>
      <description>&lt;P&gt;Very cool, indeed.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 01:58:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/O-DS-Christmas-Tree/m-p/240194#M8742</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-12-21T01:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: O(DS) Christmas Tree</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/O-DS-Christmas-Tree/m-p/240200#M8743</link>
      <description>&lt;P&gt;Nice. I think it is right up there with the cowboy hat!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 02:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/O-DS-Christmas-Tree/m-p/240200#M8743</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-12-21T02:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: O(DS) Christmas Tree</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/O-DS-Christmas-Tree/m-p/240206#M8744</link>
      <description>&lt;P&gt;An awesome trignometric SASmas tree! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;img id="heart" class="emoticon emoticon-heart" src="https://communities.sas.com/i/smilies/16x16_heart.png" alt="Heart" title="Heart" /&gt; Nice work.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 03:46:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/O-DS-Christmas-Tree/m-p/240206#M8744</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2015-12-21T03:46:28Z</dc:date>
    </item>
  </channel>
</rss>

