<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Hey Ico,</div><div><br></div><div>That's great, we need to do a lot more of that. &nbsp;Can you point me to where these changes are so I can check them out?</div><div><br></div><div>.hc</div><br><div><div>On Nov 3, 2011, at 2:44 PM, Ivica Ico Bukvic wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Indeed, pd-l2ork moves entire selection by tag, so instead of redrawing everything, out issues single  tcl/tk command. The only thing that still redrawed every time when displaced is gop-enabled patcher.<br>
<br>
Ivica Ico Bukvic, D.M.A<br>
Composition, Music Technology<br>
Director, DISIS Interactive Sound &amp; Intermedia Studio<br>
Director, L2Ork Linux Laptop Orchestra<br>
Assistant Director, CCTAD<br>
Virginia Tech<br>
Department of Music<br>
Blacksburg, VA 24061-0240<br>
(540) 231-6139<br>
(540) 231-5034 (fax)<br>
<a href="http://disis.music.vt.edu/">disis.music.vt.edu</a><br>
<a href="http://l2ork.music.vt.edu/">l2ork.music.vt.edu</a><br>
<a href="http://ico.bukvic.net/">ico.bukvic.net</a><br><br><div class="gmail_quote">Jonathan Wilkes &lt;<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif">I believe Ivica made such a modification in Pd-l2ork-- whatever the case, moving many iemguis in <br>Pd-l2ork is much snappier than in Vanilla or Pd-extended.&nbsp; But I haven't measured the cpu load.<br><br>-Jonathan<br><br><br>----- Original Message -----<br>&gt; From: Hans-Christoph Steiner &lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;<br>&gt; To: Joćo Pais &lt;<a href="mailto:jmmmpais@googlemail.com">jmmmpais@googlemail.com</a>&gt;<br>&gt; Cc: katja &lt;<a href="mailto:katjavetter@gmail.com">katjavetter@gmail.com</a>&gt;; "<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>" &lt;<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt;; Jonathan Wilkes &lt;<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>&gt;<br>&gt; Sent: Thursday, November 3, 2011 11:07 AM<br>&gt; Subject: Re: [PD] how to capture window-related mouse-events when toxy is discontinued?<br>&gt; <br>&gt; <br>&gt; I doubt that Tcl/Tk's drawing code is being overloaded.&nbsp; Instead, try <br>&gt; running "path/to/pd -stderr -d 3" and you'll see that 'pd' <br>&gt; is sending 'pd-gui' massive amounts of Tcl code to pa!
 rse,
compile, and <br>&gt; execute.&nbsp; In the case of a move, this could be accomplished with one line of Tcl <br>&gt; to tag everything you want to move, then one move command to let Tcl/Tk do the <br>&gt; moving.<br>&gt; <br>&gt; .hc<br>&gt; <br>&gt; On Nov 3, 2011, at 10:31 AM, Joćo Pais wrote:<br>&gt; <br>&gt;&gt;  those spikes is what I was predicting with the graphic overloading of <br>&gt; tcl/tk (through data structures, in this case).<br>&gt;&gt; <br>&gt;&gt;  you could also try the following: make the "selectable area" <br>&gt; around one corner (or middle) of the button: with a tiny bit more resolution, <br>&gt; but less points in the template. if you want to keep the squares, it's even <br>&gt; better, because it helps you selecting the structs.<br>&gt;&gt; <br>&gt;&gt;  Or one other thing: maybe can the tcl/tk code be changed, so that it <br>&gt; doesn't overload that fast? Reduce the redraw rate, or something else? (I <br>&gt; h!
 ave no
idea about tcl/tk)<br>&gt;&gt; <br>&gt;&gt;  Or change the output rate of the struct object? (this might not help much)<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt;  About the background grid for instant jumps, an implementation of it in run <br>&gt; mode is easy. I could try to give an example, but don't have any time for <br>&gt; now.<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt;&gt;  ----- Original Message -----<br>&gt;&gt;&gt;&gt;  From: katja &lt;<a href="mailto:katjavetter@gmail.com">katjavetter@gmail.com</a>&gt;<br>&gt;&gt;&gt;&gt;  To: <a href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>&gt;&gt;&gt;&gt;  Cc:<br>&gt;&gt;&gt;&gt;  Sent: Thursday, November 3, 2011 6:10 AM<br>&gt;&gt;&gt;&gt;  Subject: Re: [PD] how to capture window-related mouse-events when <br>&gt; toxy is discontinued?<br>&gt;&gt;&gt;&gt; <br>&gt;&gt;&gt;&gt;  On Thu, Nov 3, 2011 at 1:30 AM, Jonathan Wilkes <br>&gt; &lt;<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>&gt;<br>&gt;&gt;&gt;&gt;  wrote:<br>&gt;&gt;&gt;&gt; <br>&gt;&gt;&gt;&gt;&gt;  How does the cpu usage in my demo!
  compare
to your patch where <br>&gt; you use<br>&gt;&gt;&gt;&gt;&gt;  a radiobutton?<br>&gt;&gt;&gt;&gt; <br>&gt;&gt;&gt;&gt;  Here's a cpu load comparison of objects dragged continuously <br>&gt; (on intel<br>&gt;&gt;&gt;&gt;  mac 2GHz):<br>&gt;&gt;&gt;&gt; <br>&gt;&gt;&gt;&gt;  polygon in movable_box2.pd: 23 %<br>&gt;&gt;&gt;&gt;  polygon in 07.sequencer.pd (help browser): 16%<br>&gt;&gt;&gt;&gt;  radiobutton in moving_objects.pd: 12 %<br>&gt;&gt;&gt;&gt;  regular Pd slider: 13 %<br>&gt;&gt;&gt;&gt;  2D geo in a gem window: 2.5%<br>&gt;&gt;&gt; <br>&gt;&gt;&gt;  I just got intermittent rises up to 50% on a dual core 64-bit amd with<br>&gt;&gt;&gt;  all of the above.<br>&gt;&gt;&gt; <br>&gt;&gt;&gt;  I imagine that the cpu load for movable_box2.pd is due to the number of<br>&gt;&gt;&gt;  points in the polygon.&nbsp; I think you could get a 20x20 draggable square <br>&gt; with 8 coordinates-- that<br>&gt;&gt;&gt;  would be equal to the number of p!
 oints in
a radiobutton so maybe that <br>&gt; would get down<br>&gt;&gt;&gt;  to a corresponding cpu load.<br>&gt;&gt;&gt; <br>&gt;&gt;&gt;  I'll try some tweaks later to see if that works.<br>&gt;&gt;&gt; <br>&gt;&gt;&gt;  -Jonathan<br>&gt;&gt;&gt; <br>&gt;&gt;&gt;&gt; <br>&gt;&gt;&gt;&gt;  Your polygon method is plain vanilla Pd and that makes it <br>&gt; attractive<br>&gt;&gt;&gt;&gt;  for a widely shared Pd patch. No risk of broken dependencies. But I <br>&gt; am<br>&gt;&gt;&gt;&gt;  afraid it is too cpu-intensive, particularly on Windows. Thanks for<br>&gt;&gt;&gt;&gt;  sharing the idea though, it is inspiring.<br>&gt;&gt;&gt;&gt; <br>&gt;&gt;&gt;&gt;  Katja<br>&gt;&gt;&gt;&gt; <br>&gt;&gt;&gt;&gt;<hr><br>&gt;&gt;&gt;&gt;  <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>&gt;&gt;&gt;&gt;  UNSUBSCRIBE and account-management -&gt;<br>&gt;&gt;&gt;&gt;  <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>&gt;&gt;&gt;&gt; <br>&gt;&gt;&gt; <br>&gt;&gt;&gt;<hr><br>&gt;&gt;&gt;  <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>&gt;&gt;&gt;  UNSUBSCRIBE and account-management -&gt; <br>&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt;  -- <br>&gt;&gt;  Friedenstr. 58<br>&gt;&gt;  10249 Berlin (Deutschland)<br>&gt;&gt;  Tel +49 30 42020091 | Mob +49 162 6843570<br>&gt;&gt;  Studio +49 30 69509190<br>&gt;&gt;  <a href="mailto:jmmmpais@googlemail.com">jmmmpais@googlemail.com</a> | skype: jmmmpjmmmp<br>&gt;&gt; <br>&gt;&gt;<hr><br>&gt;&gt;  <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>&gt;&gt;  UNSUBSCRIBE and account-management -&gt; <br>&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt;<hr><br>&gt; <br>&gt; 'You people have such restrictive dress for women,’ she said, hobbling away <br>&gt; in !
 three
inch heels and panty hose to finish out another pink-collar temp pool <br>&gt; day.&nbsp; - “Hijab Scene #2", by Mohja Kahf<br>&gt;<br><br><hr><br><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br></pre></blockquote></div></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><div><br class="khtml-block-placeholder"></div><div><br></div><div>----------------------------------------------------------------------------<br></div><div><br class="khtml-block-placeholder"></div><div>&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;kill your television</div><br class="Apple-interchange-newline"></span>
</div>
<br></body></html>