<div dir="ltr"><div dir="ltr"><div dir="ltr">I am trying to develop requirements for a new es6 "scenegraph" library that is being developed (generated) under the auspices of the X3D sourceforge repository.<div><br></div><div>Currently, the library supports get/set/add/remove on X3D types and classes, and exports XML. We might consider:</div><div><br></div><div><ol><li>JSON -> Scenegraph-es6</li><li>DOM -> Scenegraph-es6</li><li>Scenegraph-es6 -> ProtoExpanded Scenegraph-es6 for X3DOM</li><li>Scenegraph-es6
-> JSON (a new JSON generator since our others do not work in web browser).</li><li>Scenegraph-es6
-> DOM (need to convert XML method to DOM)</li><li>ES6 SAI library</li><li>X_ITE SAI -> to HTML5 Scripting for X3DOM</li><li>X3D archives -> .mjs files (in particular, Proto Examples)--X3dToES6.xslt.</li></ol></div><div><br>Please order these by which one has the most impact. My three would be the 8) X3dToES6.xslt to get Protos in ES6 (URGENT!) and develop app class based code), 3) Scenegraph-es6 ProtoExpander,
and 7) the X_ITE SAI -> HTML5 scripting for X3DOM. The ProtoExpander would be aided greatly by separating into separate, classes, perhaps even put in another module, since it is currently unrelated to graphics.</div><div><br></div><div>Another option is to create a TypeScript library, so we can use TypeScript interfaces. Or we could create WebAssembly code.</div><div><br></div><div>What would you want in such a ES6+ library?</div><div><br></div><div>What I will do is start considering how to implement the ProtoExpanded DOM using X3DOM's DOM and the new Scenegraph-es6 library.</div><div><br></div><div>You have until Monday at 2@pm PDT to make suggestions.</div><div><br></div><div>If someone has a name for the library, great. Right now I am calling it x3d.mjs (folder is es6 though).</div><div><br></div><div>John</div><div><br></div></div></div></div>