<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Actually, I think it may be better to use something like d3.js, but I’m partial. I think d3.js may have a porting layer. I think it works on canvas as well as dom, so it may fit perfect.<div class=""><br class=""></div><div class="">But I’d just like to get my X3D scripts running in X3DOM, and I’d be happy. I can use JQuery and D3.js with X3DOM. Can someone write up a basic execution model in JavaScript</div><div class="">which I can plug stuff into, or show me where to find it in a X3D player open source code? There must be one in cobweb. Hmm. Maybe we need do need to take the execution model</div><div class="">out of cobweb and put it into X3DOM. Would it only run in firefox?</div><div class=""><br class=""></div><div class="">John</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 28, 2016, at 3:30 PM, doug sanden <<a href="mailto:highaspirations@hotmail.com" class="">highaspirations@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><br class="Apple-interchange-newline">4.b Perhaps an x3dQuery or cobQuery which could be a practical subset of what jQuery does.<div class="">- then once that's working, splice its functions into whatever jQuery functions apply, to do the jQuery override.<br class=""><div class="">Perhaps the classic SAI/EAI could/should have an interface like jQuery or x3dQuery.<br class=""><br class=""><div style="" class=""><hr tabindex="-1" style="display: inline-block; width: 575.25px;" class=""><div id="divRplyFwdMsg" dir="ltr" class=""><div class=""><br class=""></div></div><div class="">Cobweb source is here: <a href="https://github.com/create3000/cobweb/tree/master/cobweb.js" class="" id="LPlnk114585" title="https://github.com/create3000/cobweb/tree/master/cobweb.js
Ctrl+Click or tap to follow the link">https://github.com/create3000/cobweb/tree/master/cobweb.js</a><span class="Apple-converted-space"> </span><br class=""><div class="">X3DOM source is here: <a href="https://github.com/x3dom/x3dom" class="">https://github.com/x3dom/x3dom</a></div><div class=""><br class=""></div><div class="">5. We could extend CSS to look into Cobweb nodes.</div><div class=""><br class=""></div><div class="">John</div><div class=""><br class=""></div><div class="">On Jan 28, 2016, at 11:19 AM, doug sanden <<a href="mailto:highaspirations@hotmail.com" class="">highaspirations@hotmail.com</a>> wrote:</div><div class=""><div class=""><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" class="" style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;"><p class="" style="margin-top: 0px; margin-bottom: 0px;"></p><div class="" style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px; background-color: rgb(255, 255, 255);"><div class="">> If you’re looking at the X3DOM and Cobweb code, care to share some of the structures? </div><div class="">> Can you give more detail on how your idea would work? How would you keep both systems up-to-date with each other, i.e., routing.?<br class=""></div><div class="">So its not just the structures, The execution models are heterogenous.<br class=""></div><div class="">Options:<br class=""></div><div class="">1. proto instances run in x3dom execution model - what your expander does<br class=""></div><div class="">2. x3dom nodes run in cobweb execution model<br class=""></div><div class="">3. run-time synchronization mechanism between 2 execution models<br class=""></div><div class="">All this so that web designers wanting to jQuery DOM elements are happy.<br class=""></div><div class="">4. over-ride jQuery so it can get to cobweb node instances, and appear to html scripts the nodes are in DOM, keeping DOM/jQuery people happy without using x3dom.<br class=""></div></div><p class="" style="margin-top: 0px; margin-bottom: 0px;"></p><br class=""><div class=""></div><blockquote class="" style="margin: 0px 0px 0px 40px; border: none; padding: 0px;"><div class=""><div class="">Doug,<span class="Apple-converted-space"> </span></div></div><div class=""><div class=""><div class=""><br class=""></div></div></div><div class=""><div class=""><div class="">I think it would be simpler to get my prototype expander and routing to and from scripts well tested, deployed, validated and encoded. Then it can be released as part of the X3DOM package instead of trying to merge two codebases. We would be providing people with a full JSON alternative to XML. But that’s just me. But unwrapping prototypes may be inefficient.</div></div></div><div class=""><div class=""><div class=""><br class=""></div></div></div><div class=""><div class=""><div class="">I already have some of my prototypes working. See cobweb.json @ <a href="http://coderextreme.net/X3DJSONLD/" class="" id="LPlnk507985">http://coderextreme.net/X3DJSONLD/</a> rubik.json and NancyPrototype.json are others. Disable the prototype expander to see the difference. I think where I may be lacking is passing SFNodes and MFNodes around. Should I try some of your recent examples against it? Can you provide me with a list and permission to publish on my site and @ github? Thanks! It’s likely that I would be publishing derived JSON and not the original X3D XML or VRML.</div></div></div><div class=""><div class=""><div class=""><br class=""></div></div></div><div class=""><div class=""><div class="">Note that I don’t have ExternProtoDeclare or including JSON files working yet.</div></div></div><div class=""><div class=""><div class=""><br class=""></div></div></div><div class=""><div class=""><div class="">If you’re looking at the X3DOM and Cobweb code, care to share some of the structures? Can you give more detail on how your idea would work? How would you keep both systems up-to-date with each other, i.e., routing.?</div></div></div><div class=""><div class=""><div class=""><br class=""></div></div></div><div class=""><div class=""><div class="">John</div></div></div><div class=""><div class=""><div class=""><br class=""></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Jan 28, 2016, at 10:06 AM, doug sanden <<a href="mailto:highaspirations@hotmail.com" class="">highaspirations@hotmail.com</a>> wrote:</div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><br class="Apple-interchange-newline"></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="">So to make heterogenous node systems work there would need to be an efficient system for wrapping/unwrapping.</div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="">For example passing a DOM based node on the interface of a non-DOM proto, for use in non-DOM VRMLscript.</div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="">To be efficient, perhaps the DOM nodes need to have a DOM interface over a compatible non-DOM implementation. Then passing in, it's efficient to unwrap?</div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><br class=""></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><br class=""></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class="">Think of Cobweb as a classic VRML silo ported to the web. At least that’s what it seems like to me. You must use VRML types in your VRMLscript, it’s not JavaScript.</blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><br class=""></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class="">But yeah, if I read your subject right, you want to port Cobweb protos to X3DOM. I believe scripts would have to be ported as well. It might be worth investigating.</blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><br class=""></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class="">John</blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On Jan 28, 2016, at 9:19 AM, John Carlson <<a href="mailto:yottzumm@gmail.com" class="">yottzumm@gmail.com</a>> wrote:</blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><br class=""></blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class="">AFAIK, Cobweb does not do DOM or JQuery. Protos can be used with X3DOM, using my prototype expander for JSON (in beta), but not VRMLscript (partial implementation, alpha or pre alpha).</blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class="">We need to figure out how to route to and from scripts in X3DOM. See my many postings pleading for help. If you would want to help, I can show you the ropes.</blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><br class=""></blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class="">The alternative to Protos for X3DOM is web components, which is what the X3DOM folks are proposing.</blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><br class=""></blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class="">John</blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On Jan 28, 2016, at 9:13 AM, doug sanden <<a href="mailto:highaspirations@hotmail.com" class="">highaspirations@hotmail.com</a>> wrote:</blockquote></blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><br class=""></blockquote></blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><br class=""></blockquote></blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">Q. could protos for V4 be in cobweb format?</blockquote></blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">-Doug</blockquote></blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">Goal: keep the jQuery/DOM crowd happy, but just up to the interface of a proto, not its body.</blockquote></blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">x I have not studied any techical details of either x3dom or cobweb, I have no idea if its doable/practical</blockquote></blockquote></blockquote></div></div></blockquote></div></div></div></div><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><br class=""></blockquote></blockquote></blockquote></div></div></blockquote></div></div></div></div></blockquote><div class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><br class=""><br class="">_______________________________________________<br class="">x3d-public mailing list<br class=""><a href="mailto:x3d-public@web3d.org" class="">x3d-public@web3d.org</a><br class=""><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" class="">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br class=""></div></div></blockquote></div><br class=""></div></div></div></div><span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; float: none; display: inline !important;">_______________________________________________</span><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;"><span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; float: none; display: inline !important;">x3d-public mailing list</span><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;"><a href="mailto:x3d-public@web3d.org" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">x3d-public@web3d.org</a><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;"><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a></div></blockquote></div><br class=""></div></div></div></div></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">x3d-public mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:x3d-public@web3d.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">x3d-public@web3d.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a></div></blockquote></div><br class=""></div></body></html>