<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i style="font-size: 12pt;">>> “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:</i><br>
</div>
</blockquote>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
</blockquote>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i><br>
</i></div>
<p></p>
</blockquote>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i>>> how do you send values to [ds-slider]?</i></div>
<p></p>
</blockquote>
</blockquote>
<p></p>
<div><br>
</div>
<p></p>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i>>Where are the values coming from?</i></div>
<p></p>
</blockquote>
<p></p>
<div><br>
</div>
<div>Some saved presets in a list, [text], [coll] …,  eventually if not possible is ok anyway for other purpose.</div>
<div><br>
</div>
<p></p>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i>>> I never been into “pointers” & “data structures”.</i></div>
<p></p>
</blockquote>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i><br>
</i></div>
<p></p>
</blockquote>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i>>> Don't forget that we are trying to connect web-things to Pd, cuz Purr-Data uses </i></div>
<p></p>
</blockquote>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i>>> NW.js</i></div>
<p></p>
</blockquote>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i><br>
</i></div>
<p></p>
</blockquote>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i>>> Let me know your thoughts on some [htmlcanvas] or those <iframes> that I mentioned.</i></div>
<p></p>
</blockquote>
</blockquote>
<p></p>
<div><br>
</div>
<p></p>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i>>It's certainly possible to add a web page using an iframe. It could be added </i><i style="font-size: 12pt;">as html-- either about or below the svg that holds all of the patch.  It could also </i><i style="font-size: 12pt;">be added as a "foreignObject"
 inside the svg itself, in which case it could </i><i style="font-size: 12pt;">(theoretically) have a z-order among the inner svg elements that represent the </i><i style="font-size: 12pt;">patch objects. </i></div>
<p></p>
</blockquote>
<p></p>
<div><br>
</div>
<div>Good, an option.</div>
<div><br>
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div><i>> However, I don't think there is browser consensus on how the </i><i style="font-size: 12pt;">latter should actually behave.  I've tried to steer clear of behavior that isn't </i></div>
<div><i>well-documented and broadly implemented by all the important browser vendors </i><i style="font-size: 12pt;">(as in the latter case).</i></div>
</blockquote>
<div><br>
</div>
<div>Yes, this could change. We all share the same vendor in Purr-Data right?</div>
<div><br>
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div><i>>Personally, I think it'd be more useful to have a patch contained/displayed </i></div>
<div><i>within an html file.  That's actually how patches are rendered in Purr Data </i></div>
<div><i>anyway.  (There just doesn't happen to be much content in the html other than </i><i style="font-size: 12pt;">the svg itself.)  So adding the ability to specify a different html "template" than </i><i style="font-size: 12pt;">the generic one I'm using
 would be a way to do that.</i></div>
</blockquote>
<div><br>
</div>
<div>This has a lot of benefits. Can you elaborate the specification for doing such thing?.</div>
<div><br>
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div><i>>Still, keep in mind I didn't design the GUI to be able to do any of this.  It's been </i><i style="font-size: 12pt;">an incremental port using the tcl/tk code as a stand-in for a spec.  So even adding </i><i style="font-size: 12pt;">the ability to
 display arbitrary html content in a patch window would probably </i><i style="font-size: 12pt;">require some careful consideration and refactoring.</i></div>
</blockquote>
<div><br>
</div>
<div>Yes, as of “refactoring” I propose starting with the simpler straigth forward option that you can devise.</div>
<div>As of “careful consideration” I think first there must be a starting point.</div>
<div><br>
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div><i>>Also-- to the extent possible I'd like to keep the "Pd-land" syntax distinct from </i><i style="font-size: 12pt;">"Web-land".  For example, I use a small subset of the svg specification to extend </i><i style="font-size: 12pt;">data structure drawing
 in Purr Data.  But I do it with simple Pd atoms/messages, </i><i style="font-size: 12pt;">not with XML.</i></div>
</blockquote>
<div><br>
</div>
<div>Probably your right, I`ve read Iohannes saying something like “XML is rather difficult not only to Pd” iirc.</div>
<div><br>
</div>
<div>Salutti,</div>
<div>Lucarda.</div>
<div><br>
</div>
<div>-Jonathan</div>
<div><br>
</div>
<br>
<p></p>
<p><br>
</p>
<div id="Signature"><font face="Courier New, Courier, Monospace" size="2">Mensaje telepatico asistido por maquinas.</font>
</div>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<div style="color:#000; background-color:#fff; font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size:16px">
<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 class="yiv5154130211yqt8779097321" id="yiv5154130211yqtfd33310">
<div id="yui_3_16_0_ym19_1_1485569838850_31065">
<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>
</div>
</div>
</div>
</body>
</html>