<?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 Fun with SAS ODS Graphics: Stepping Feet Illusion in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Stepping-Feet-Illusion/m-p/623369#M19426</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stepping Feet Illusion" style="width: 480px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35948i4837BD8B50501B5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="SteppingFeet.gif" alt="Stepping Feet Illusion" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Stepping Feet Illusion&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With the &lt;A href="https://en.wikipedia.org/wiki/Stepping_feet_illusion" target="_self"&gt;stepping feet illusion&lt;/A&gt; racking up &lt;A href="https://twitter.com/SteveStuWill/status/1225746539898781698" target="_self"&gt;likes on Twitter&lt;/A&gt; this week, thought I'd take a crack at recreating it using SAS ODS Graphics!&amp;nbsp;&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;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun w/SAS ODS Graphics: Stepping feet illusion (see en.wikipedia.org/wiki/Stepping_feet_illusion);

data barsNmarkers;                      * Generate points for black lines and yellow &amp;amp; blue markers;
do frame=1 to 20 by .1;                 * Move markers between x=2 and x=18 in increments of .1;
  y=1;
  do x=1 to 20;                         * Draw 20 lines 1 unit high;
    output; 
  end;
  x=frame; y=.;                         * Points for yellow and dark blue markers;
  yy=.75; yb=.25; output; yy=.; yb=.;
end;

ods _all_ close;                        * Animated GIF setup;
options papersize=('5 in', '2 in') printerpath=gif animation=start 
        nodate nonumber animloop=YES NOANIMOVERLAY animduration=.075;
ods printer file='/folders/myfolders/SteppingFeet.gif';
ods graphics / width=5in height=2in imagefmt=GIF;

options nobyline;                       * Stepping feet illusion for first 13 bars (black bars create contrast);                    
proc sgplot data=barsNmarkers(where=(frame&amp;lt;14)) noautolegend noborder nowall;
by frame;
symbolchar name=uniRect char='25AC'x;   * Unicode for rectangle;
dropline x=x y=y / lineattrs=(color=black thickness=11pt);
scatter x=x y=yy / markeroutlineattrs=(color=yellow) markerattrs=(color=yellow size=144pt symbol=uniRect);
scatter x=x y=yb / markeroutlineattrs=(color=darkblue) markerattrs=(color=darkblue size=144pt symbol=uniRect);
xaxis display=none offsetmin=0 offsetmax=0 min=0.5 max=21 type=linear;
yaxis display=none offsetmin=0 offsetmax=0 min=0 max=1;

                                        * No Stepping feet illusion for last 7 bars (white bars create no contrast);     
proc sgplot data=barsNmarkers(where=(frame&amp;gt;=14)) noautolegend noborder nowall;
by frame;
symbolchar name=uniRect char='25AC'x;   * Unicode for rectangle;
dropline x=x y=y / lineattrs=(color=white thickness=11pt);
scatter x=x y=yy / markeroutlineattrs=(color=yellow) markerattrs=(color=yellow size=144pt symbol=uniRect);
scatter x=x y=yb / markeroutlineattrs=(color=darkblue) markerattrs=(color=darkblue size=144pt symbol=uniRect);
xaxis display=none offsetmin=0 offsetmax=0 min=0.5 max=21 type=linear;
yaxis display=none offsetmin=0 offsetmax=0 min=0 max=1;
run;

options printerpath=gif animation=stop; * Animated GIF wrapup;
ods printer close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 09 Feb 2020 04:38:02 GMT</pubDate>
    <dc:creator>tc</dc:creator>
    <dc:date>2020-02-09T04:38:02Z</dc:date>
    <item>
      <title>Fun with SAS ODS Graphics: Stepping Feet Illusion</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Stepping-Feet-Illusion/m-p/623369#M19426</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stepping Feet Illusion" style="width: 480px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35948i4837BD8B50501B5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="SteppingFeet.gif" alt="Stepping Feet Illusion" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Stepping Feet Illusion&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With the &lt;A href="https://en.wikipedia.org/wiki/Stepping_feet_illusion" target="_self"&gt;stepping feet illusion&lt;/A&gt; racking up &lt;A href="https://twitter.com/SteveStuWill/status/1225746539898781698" target="_self"&gt;likes on Twitter&lt;/A&gt; this week, thought I'd take a crack at recreating it using SAS ODS Graphics!&amp;nbsp;&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;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun w/SAS ODS Graphics: Stepping feet illusion (see en.wikipedia.org/wiki/Stepping_feet_illusion);

data barsNmarkers;                      * Generate points for black lines and yellow &amp;amp; blue markers;
do frame=1 to 20 by .1;                 * Move markers between x=2 and x=18 in increments of .1;
  y=1;
  do x=1 to 20;                         * Draw 20 lines 1 unit high;
    output; 
  end;
  x=frame; y=.;                         * Points for yellow and dark blue markers;
  yy=.75; yb=.25; output; yy=.; yb=.;
end;

ods _all_ close;                        * Animated GIF setup;
options papersize=('5 in', '2 in') printerpath=gif animation=start 
        nodate nonumber animloop=YES NOANIMOVERLAY animduration=.075;
ods printer file='/folders/myfolders/SteppingFeet.gif';
ods graphics / width=5in height=2in imagefmt=GIF;

options nobyline;                       * Stepping feet illusion for first 13 bars (black bars create contrast);                    
proc sgplot data=barsNmarkers(where=(frame&amp;lt;14)) noautolegend noborder nowall;
by frame;
symbolchar name=uniRect char='25AC'x;   * Unicode for rectangle;
dropline x=x y=y / lineattrs=(color=black thickness=11pt);
scatter x=x y=yy / markeroutlineattrs=(color=yellow) markerattrs=(color=yellow size=144pt symbol=uniRect);
scatter x=x y=yb / markeroutlineattrs=(color=darkblue) markerattrs=(color=darkblue size=144pt symbol=uniRect);
xaxis display=none offsetmin=0 offsetmax=0 min=0.5 max=21 type=linear;
yaxis display=none offsetmin=0 offsetmax=0 min=0 max=1;

                                        * No Stepping feet illusion for last 7 bars (white bars create no contrast);     
proc sgplot data=barsNmarkers(where=(frame&amp;gt;=14)) noautolegend noborder nowall;
by frame;
symbolchar name=uniRect char='25AC'x;   * Unicode for rectangle;
dropline x=x y=y / lineattrs=(color=white thickness=11pt);
scatter x=x y=yy / markeroutlineattrs=(color=yellow) markerattrs=(color=yellow size=144pt symbol=uniRect);
scatter x=x y=yb / markeroutlineattrs=(color=darkblue) markerattrs=(color=darkblue size=144pt symbol=uniRect);
xaxis display=none offsetmin=0 offsetmax=0 min=0.5 max=21 type=linear;
yaxis display=none offsetmin=0 offsetmax=0 min=0 max=1;
run;

options printerpath=gif animation=stop; * Animated GIF wrapup;
ods printer close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 09 Feb 2020 04:38:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Stepping-Feet-Illusion/m-p/623369#M19426</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2020-02-09T04:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fun with SAS ODS Graphics: Stepping Feet Illusion</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Stepping-Feet-Illusion/m-p/623433#M19427</link>
      <description>&lt;P&gt;Brilliant&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4628"&gt;@tc&lt;/a&gt;!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2020 18:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Stepping-Feet-Illusion/m-p/623433#M19427</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2020-02-09T18:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fun with SAS ODS Graphics: Stepping Feet Illusion</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Stepping-Feet-Illusion/m-p/623495#M19432</link>
      <description>&lt;P&gt;I like using symbolchar statement to draw a rectangle ,&lt;/P&gt;
&lt;P&gt;and dropline statement to repalace block statement&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 04:14:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Stepping-Feet-Illusion/m-p/623495#M19432</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-02-10T04:14:36Z</dc:date>
    </item>
  </channel>
</rss>

