<div dir="ltr">Here's what I use Script for:<div><br></div><div>"Force-directed" layout of graph nodes and edges.<br>Random trajectories, like the wind blowing.<br>Resizing, reshaping randomly.<br>Animating shading language parameters for big meshes.<br>Animating viewpoint along great circles.(generating a random location for the next point to visit)<br>Changing background cubemaps.<br>Interactive placement of nodes in mathematical graphs.<br></div><div><br></div><div>For the cubemaps, I might be able to do this with an existing interpolator, I haven't given it enough thought.</div><div><br></div><div>The most important for me is animating shading language parameters that change the shape and size of my models in a shading language.  I don't know how to do this in XML/Scripting that is performant enough.  I have 100x100 meshes that I animate the surface of.  In addition, I would like to add a prismatic effect. I have done this best in PlayCanvas.</div><div><br></div><div>If someone wants to standardize my code, here are the 3 examples I use:</div><div><br></div><div><a href="https://coderextreme.net/X3DJSONLD/src/main/html/flowers.xhtml">https://coderextreme.net/X3DJSONLD/src/main/html/flowers.xhtml</a> </div><div><br></div><div>Porting between shaders is a *pain in the butt* and I have to keep separate shaders for each browser. <br></div><div><br></div><div>I *know* shading languages are fast enough for this.  I don't really have a good solution for IndexedFaceSet.</div><div><br></div><div>Your input is welcome.  Ideally we'd have a declarative shading language?</div><div><br></div><div>Subdividing surfaces as X3DOM is a great solution, we just need to get it in the standard!</div><div><br></div><div>John</div></div>