<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 08/22/2013 09:06 AM, Joćo Pais
wrote:<br>
</div>
<blockquote cite="mid:op.w17ypuadvpc3oo@jmmmp-x61s.lan" type="cite">
<style type="text/css">body { font-family:'Times New Roman'; font-size:13px}</style>
<div>that is impressive. is the new version already somewhere to
be tested?</div>
</blockquote>
<br>
I'll try to post a build later today, or tomorrow.<br>
<br>
-Jonathan<br>
<br>
<blockquote cite="mid:op.w17ypuadvpc3oo@jmmmp-x61s.lan" type="cite">
<div><br>
</div>
<blockquote style="margin: 0 0 0.80ex; border-left: #0000FF 2px
solid; padding-left: 1ex">
<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. 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. 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. 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>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>