<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yiv5154130211"><div id="yui_3_16_0_ym19_1_1485569838850_18995"><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_ym19_1_1485569838850_18994">> Ok,<div class="yiv5154130211qtdSeparateBR" id="yui_3_16_0_ym19_1_1485569838850_18993"><br clear="none"></div></div></div></div><div class=".yiv5154130211yahoo_quoted" id="yui_3_16_0_ym19_1_1485569838850_18996"><div id="yiv5154130211yui_3_16_0_ym19_1_1485569838850_5556" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div id="yiv5154130211yui_3_16_0_ym19_1_1485569838850_5555" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div class="yiv5154130211y_msg_container" id="yiv5154130211yui_3_16_0_ym19_1_1485569838850_5654"><div id="yiv5154130211"><div dir="ltr" id="yiv5154130211yui_3_16_0_ym19_1_1485569838850_5658"><div dir="ltr" id="yiv5154130211divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri, Arial, Helvetica, sans-serif;">

<div id="yiv5154130211yui_3_16_0_ym19_1_1485569838850_5708">> “ds-slider.pd” is cool, also it can easly be shaped to a circle instead of square, and so on, the new [draw] is cool, but:</div>
<div id="yiv5154130211yui_3_16_0_ym19_1_1485569838850_5709"><br clear="none">
</div>
<div id="yui_3_16_0_ym19_1_1485569838850_19007">> how do you send values to [ds-slider]?</div>
<div id="yiv5154130211yui_3_16_0_ym19_1_1485569838850_5711"><div id="yui_3_16_0_ym19_1_1485569838850_28861"><br clear="none"></div><div id="yiv5154130211yui_3_16_0_ym19_1_1485569838850_5710">Where are the values coming from?<div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1485569838850_29032"><br></div></div></div><div class="qtdSeparateBR"><br><br></div><div class="yiv5154130211yqt8779097321" id="yiv5154130211yqtfd33310">
<div id="yui_3_16_0_ym19_1_1485569838850_29087">> I never been into “pointers” & “data structures”.</div>
<div id="yui_3_16_0_ym19_1_1485569838850_29089"><div id="yui_3_16_0_ym19_1_1485569838850_29088"><br clear="none">
</div></div>
<div id="yui_3_16_0_ym19_1_1485569838850_29180"><div id="yui_3_16_0_ym19_1_1485569838850_29179">> Don't forget that we are trying to connect web-things to Pd, cuz Purr-Data uses <br clear="none"></div><div id="yui_3_16_0_ym19_1_1485569838850_29235">> NW.js</div></div>
<div id="yui_3_16_0_ym19_1_1485569838850_29264"><div id="yui_3_16_0_ym19_1_1485569838850_29263"><br clear="none">
</div></div>
<div id="yui_3_16_0_ym19_1_1485569838850_29265">> Let me know your thoughts on some [htmlcanvas] or those <iframes> that I mentioned.</div><div id="yui_3_16_0_ym19_1_1485569838850_29424"><br clear="none"></div><div id="yui_3_16_0_ym19_1_1485569838850_29453"><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_29452">It's certainly possible to add a web page using an iframe. It could be added <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_29562">as html-- either about or below the svg that holds all of the patch.  It could also <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_30049">be added as a "foreignObject" inside the svg itself, in which case it could <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_30166">(theoretically) have a z-order among the inner svg elements that represent the <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_30167">patch objects.  However, I don't think there is browser consensus on how the <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_30195">latter should actually behave.  I've tried to steer clear of behavior that isn't <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_30492">well-documented and broadly implemented by all the important browser vendors <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_30551">(as in the latter case).</div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_30926"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_30954">Personally, I think it'd be more useful to have a patch contained/displayed <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_31059">within an html file.  That's actually how patches are rendered in Purr Data <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_31060">anyway.  (There just doesn't happen to be much content in the html other than <br></div><div dir="ltr">the svg itself.)  So adding the ability to specify a different html "template" than <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_31061">the generic one I'm using would be a way to do that.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_31062"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_31085">Still, keep in mind I didn't design the GUI to be able to do any of this.  It's been <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_31063">an incremental port using the tcl/tk code as a stand-in for a spec.  So even adding <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_31084">the ability to display arbitrary html content in a patch window would probably <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_31083">require some careful consideration and refactoring.<br> </div></div><div id="yui_3_16_0_ym19_1_1485569838850_31065"><div id="yui_3_16_0_ym19_1_1485569838850_31082"><br clear="none"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_31064">Also-- to the extent possible I'd like to keep the "Pd-land" syntax distinct from <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_31066">"Web-land".  For example, I use a small subset of the svg specification to extend <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_31120">data structure drawing in Purr Data.  But I do it with simple Pd atoms/messages, <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_31067">not with XML.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_33435"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1485569838850_33436">-Jonathan<br> </div><div dir="ltr"><br></div><div dir="ltr"><br></div></div></div></div></div></div></div><div class="yiv5154130211yqt8779097321" id="yiv5154130211yqtfd91458"> </div></div><div class="yiv5154130211yqt8779097321" id="yiv5154130211yqtfd60898"> </div></div><div class="yiv5154130211yqt8779097321" id="yiv5154130211yqtfd44654">  </div></div></div></body></html>