<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 22/08/2013 07:13, Jonathan Wilkes a
      &eacute;crit&nbsp;:<br>
    </div>
    <blockquote
      cite="mid:1377148386.20393.YahooMailNeo@web160301.mail.bf1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:arial,
        helvetica, sans-serif;font-size:12pt">Hi list,<br>
        <br>
        I've got some updates to [canvasinfo], [pdinfo], and [classinfo]
        that I'll put in a demo build either tomorrow or the next day.<br>
        <br>
        I also added a new data structure class with two creators:<br>
        [drawimage] - draw an image on a canvas<br>
        [drawsprite] - draw a sprite on a canvas<br>
        <br>
        The [drawsprite] object takes the name of a directory containing
        an image sequence and<br>
        loads the images into tcl/tk memory when the object gets
        created.&nbsp; A ds float field can then be<br>
        associated with that image so that when you change its value it
        jumps to that image in the<br>
        sequence.&nbsp; I used the code from [drawnumber], so you can even
        animate the sprite by clicking<br>
        and dragging on the image.<br>
        <br>
        Since all the images are preloaded into tcl/tk, animating them
        is fairly straightforward-- tk just<br>
        clears the old image and copies the new one from one of the
        images it has in memory.<br>
        <br>
        Of course the upshot is fairly obvious-- we can finally have
        ponies running around inside Pure<br>
        Data patches.<br>
        <br>
        E.g., thanks to this:<br>
<a class="moz-txt-link-freetext" href="http://friendshipismagic.smackjeeves.com/comics/1223051/female-pony-base-sprites/">http://friendshipismagic.smackjeeves.com/comics/1223051/female-pony-base-sprites/</a><br>
        <br>
        I can now do this:<br>
        <a class="moz-txt-link-freetext" href="https://puredata.info/Members/jancsika/omgponies.webm/view">https://puredata.info/Members/jancsika/omgponies.webm/view</a><br>
        <br>
        I just added the "realtime code selection" as an afterthought
        using [cnv] objects.&nbsp; However, it<br>
        would be neat to be able to group code and highlight it
        programmatically as the data is flowing.<br>
        <br>
        -Jonathan<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
    <br>
    Very funny animation, we can now design platform games directly in a
    patch. ! ;)<br>
    More seriously, it could replace the [#see] object from gridflow,
    interresting...<br>
    ++<br>
    <br>
    Jack<br>
    <br>
    <br>
  </body>
</html>