<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">Also:<br>http://www.jonathanwilkes.net/unit-circle-at-christmas.webm<br><br>-Jonathan<br><div><span></span></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Monday, December 23, 2013 4:47 PM, Joćo Pais &lt;jmmmpais@googlemail.com&gt; wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv4014702420"><style type="text/css">#yiv4014702420 body {font-size:13px;}</style><div>nice. btw, what's the cpu usage of those features, compared to normal data structures? still high, or lower than
 usual?<br clear="none"><br clear="none"><div class="yiv4014702420yqt6074305890" id="yiv4014702420yqt86382"><blockquote style="margin:0 0 0.80ex;border-left:#0000FF 2px solid;padding-left:1ex;"><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"><div>Check it out:</div><div><span>http://www.jonathanwilkes.net/more-ds.webm</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>* transformations with a matrix</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica
 Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>* svg path support for all drawing commands<br clear="none"></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>* everything plays nice with Pd's subpatch x/y-range and size (not sure about margins), making it almost like an svg viewport (without clipping, unfortunately)</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>Finally-- I'm also
 working on a patch that will instantiate certain scalars just by typing the struct name in an object box.&nbsp; This means people will be able to use data structures for simple (or even complex)
 prototyping without having to send a pointer anywhere.&nbsp; If you're just using a single scalar like my demo, you could just as easily send methods to the parent [draw] objects.&nbsp; (Though if you understand how pointers work it can be handy.)</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>Problems</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>* getting the bbox for a path is _hard_.&nbsp; I can't figure out a good way to cache it
 without requiring the user to send a message.</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>* matrix transformations currently do an end run around all of Pd's glist_xtopixels/basex junk and send directly to tkpath.&nbsp; This makes it way too complex to do stuff like figure out the center of a rotation.&nbsp; I don't know a good way to deal with this, other than giving a high level interface for translation/rotation/etc.<br clear="none"></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande,
 sans-serif;background-color:transparent;font-style:normal;"><span>-Jonathan<br clear="none"></span></div></div></blockquote></div><br clear="none"></div></div><br><br></div>  </div> </div>  </div> </div></body></html>