<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. 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 & 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 <<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>> 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. But I haven't measured the cpu load.<br><br>-Jonathan<br><br><br>----- Original Message -----<br>> From: Hans-Christoph Steiner <<a href="mailto:hans@at.or.at">hans@at.or.at</a>><br>> To: Joćo Pais <<a href="mailto:jmmmpais@googlemail.com">jmmmpais@googlemail.com</a>><br>> Cc: katja <<a href="mailto:katjavetter@gmail.com">katjavetter@gmail.com</a>>; "<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>" <<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>>; Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>><br>> Sent: Thursday, November 3, 2011 11:07 AM<br>> Subject: Re: [PD] how to capture window-related mouse-events when toxy is discontinued?<br>> <br>> <br>> I doubt that Tcl/Tk's drawing code is being overloaded. Instead, try <br>> running "path/to/pd -stderr -d 3" and you'll see that 'pd' <br>> is sending 'pd-gui' massive amounts of Tcl code to pa!
rse,
compile, and <br>> execute. In the case of a move, this could be accomplished with one line of Tcl <br>> to tag everything you want to move, then one move command to let Tcl/Tk do the <br>> moving.<br>> <br>> .hc<br>> <br>> On Nov 3, 2011, at 10:31 AM, Joćo Pais wrote:<br>> <br>>> those spikes is what I was predicting with the graphic overloading of <br>> tcl/tk (through data structures, in this case).<br>>> <br>>> you could also try the following: make the "selectable area" <br>> around one corner (or middle) of the button: with a tiny bit more resolution, <br>> but less points in the template. if you want to keep the squares, it's even <br>> better, because it helps you selecting the structs.<br>>> <br>>> Or one other thing: maybe can the tcl/tk code be changed, so that it <br>> doesn't overload that fast? Reduce the redraw rate, or something else? (I <br>> h!
ave no
idea about tcl/tk)<br>>> <br>>> Or change the output rate of the struct object? (this might not help much)<br>>> <br>>> <br>>> About the background grid for instant jumps, an implementation of it in run <br>> mode is easy. I could try to give an example, but don't have any time for <br>> now.<br>>> <br>>> <br>>>> ----- Original Message -----<br>>>>> From: katja <<a href="mailto:katjavetter@gmail.com">katjavetter@gmail.com</a>><br>>>>> To: <a href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>>>>> Cc:<br>>>>> Sent: Thursday, November 3, 2011 6:10 AM<br>>>>> Subject: Re: [PD] how to capture window-related mouse-events when <br>> toxy is discontinued?<br>>>>> <br>>>>> On Thu, Nov 3, 2011 at 1:30 AM, Jonathan Wilkes <br>> <<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>><br>>>>> wrote:<br>>>>> <br>>>>>> How does the cpu usage in my demo!
compare
to your patch where <br>> you use<br>>>>>> a radiobutton?<br>>>>> <br>>>>> Here's a cpu load comparison of objects dragged continuously <br>> (on intel<br>>>>> mac 2GHz):<br>>>>> <br>>>>> polygon in movable_box2.pd: 23 %<br>>>>> polygon in 07.sequencer.pd (help browser): 16%<br>>>>> radiobutton in moving_objects.pd: 12 %<br>>>>> regular Pd slider: 13 %<br>>>>> 2D geo in a gem window: 2.5%<br>>>> <br>>>> I just got intermittent rises up to 50% on a dual core 64-bit amd with<br>>>> all of the above.<br>>>> <br>>>> I imagine that the cpu load for movable_box2.pd is due to the number of<br>>>> points in the polygon. I think you could get a 20x20 draggable square <br>> with 8 coordinates-- that<br>>>> would be equal to the number of p!
oints in
a radiobutton so maybe that <br>> would get down<br>>>> to a corresponding cpu load.<br>>>> <br>>>> I'll try some tweaks later to see if that works.<br>>>> <br>>>> -Jonathan<br>>>> <br>>>>> <br>>>>> Your polygon method is plain vanilla Pd and that makes it <br>> attractive<br>>>>> for a widely shared Pd patch. No risk of broken dependencies. But I <br>> am<br>>>>> afraid it is too cpu-intensive, particularly on Windows. Thanks for<br>>>>> sharing the idea though, it is inspiring.<br>>>>> <br>>>>> Katja<br>>>>> <br>>>>><hr><br>>>>> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>>>>> UNSUBSCRIBE and account-management -><br>>>>> <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>>>>> <br>>>> <br>>>><hr><br>>>> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>>>> UNSUBSCRIBE and account-management -> <br>> <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>>> <br>>> <br>>> -- <br>>> Friedenstr. 58<br>>> 10249 Berlin (Deutschland)<br>>> Tel +49 30 42020091 | Mob +49 162 6843570<br>>> Studio +49 30 69509190<br>>> <a href="mailto:jmmmpais@googlemail.com">jmmmpais@googlemail.com</a> | skype: jmmmpjmmmp<br>>> <br>>><hr><br>>> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>>> UNSUBSCRIBE and account-management -> <br>> <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>> <br>> <br>> <br>> <br>> <br>><hr><br>> <br>> 'You people have such restrictive dress for women, she said, hobbling away <br>> in !
three
inch heels and panty hose to finish out another pink-collar temp pool <br>> day. - Hijab Scene #2", by Mohja Kahf<br>><br><br><hr><br><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -> <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> kill your television</div><br class="Apple-interchange-newline"></span>
</div>
<br></body></html>