Docs @ Psychtoolbox Wiki : DotDemo

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Revision [14125]

Last edited on 2011-07-05 09:29:11 by DocBot
Additions:
The optional parameter 'showSprites' when set to 1, will draw little
smiley textures instead of dots, demonstrating sprite-drawing. A zero
setting, or omitting the setting, will draw dots. A value of 2 will draw
filled rectangles via textures instead, (ab-)using texture drawing and
filtering to allow subpixel positioning of drawn rectangles on the
screen. We slow down the animation for non-zero 'showSprites' so you can
appreciate the anti-aliased smooth subpixel movement better.
Deletions:
The optional parameter 'showSprites' when set to a non-zero value, will
draw little smiley textures instead of dots, demonstrating
sprite-drawing. A zero setting, or omitting the setting, will draw dots.


Revision [13696]

Edited on 2010-12-06 12:28:00 by DocBot
Additions:
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychDemos/DotDemo.m">beta</a> | view WebSVN <a href=
"http://svn.berlios.de/wsvn/osxptb/trunk/Psychtoolbox/PsychDemos/DotDemo.m?op=log">changelog</a> of trunk branch</span>
Deletions:
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychDemos/DotDemo.m">beta</a> | view in <a href=
"http://svn.berlios.de/wsvn/osxptb/beta/Psychtoolbox/PsychDemos/DotDemo.m?view=markup">WebSVN with changelog</a></span>


Revision [11711]

Edited on 2010-09-09 16:13:37 by DocBot
Additions:
"http://svn.berlios.de/wsvn/osxptb/beta/Psychtoolbox/PsychDemos/DotDemo.m?view=markup">WebSVN with changelog</a></span>
Deletions:
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychDemos/DotDemo.m?view=markup">WebSVN with changelog</a></span>


Revision [9855]

Edited on 2010-05-27 07:25:54 by DocBot
Additions:
Usage: DotDemo([showSprites = 0][, waitframes = 1]);
The optional parameter 'showSprites' when set to a non-zero value, will
draw little smiley textures instead of dots, demonstrating
sprite-drawing. A zero setting, or omitting the setting, will draw dots.
'waitframes' Number of video refresh intervals to show each image before
updating the dot field. Defaults to 1 if omitted.
You can exit the demo by any keypress or mouse button press. It will also
exit by itself after 1000 redraws.
The top of the demo code contains tons of parameters to tweak and
manipulate if you want.
Note: Some versions of MacOS/X have defective dot drawing due to an
operating system bug. If you happen to have such a system (e.g., OS/X
10.6.3 with NVidia Geforce-7xxx hardware) then read "help ScreenDrawDots"
for a workaround.
Deletions:
author: Keith Schneider, 12/13/04


Revision [7672]

Edited on 2008-09-25 18:18:22 by DocBot
Additions:
""
<div class="code_header" style="text-align:right;">
<span style="float:left;">Path  </span> <span class="counter">Retrieve current version of DotDemo.m from berliOS: <a href=
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychDemos/DotDemo.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychDemos/DotDemo.m?view=markup">WebSVN with changelog</a></span>
</div>
<div class="code">
<code>Psychtoolbox/PsychDemos/DotDemo.m</code>
</div>
""
Deletions:
%%(php;Path)Psychtoolbox/PsychDemos/DotDemo.m%%


Revision [5461]

Edited on 2008-06-22 01:12:03 by DocBot
Additions:
==[[Psychtoolbox]] › [[PsychDemos]]==
Deletions:
==[[Psychtoolbox]] › PsychDemos==


Revision [3279]

Edited on 2008-03-21 11:15:17 by DocBot

No Differences

Revision [2693]

Edited on 2008-03-21 02:20:59 by DocBot
Additions:
==[[Psychtoolbox]] › PsychDemos==
%%(php;Path)Psychtoolbox/PsychDemos/DotDemo.m%%
Deletions:
==PtbReference › PsychDemos==
PsychDemos


Revision [2460]

Edited on 2008-03-15 12:08:52 by DocBot
Additions:
===[[DotDemo]]===
==PtbReference › PsychDemos==
Deletions:
===PsychDemos===


Revision [344]

The oldest known version of this page was created on 2008-03-15 10:26:58 by DocBot
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0671 seconds