webgui is available in the NGSolve 20.05 release, and there are frequent updates and fixes in the nightly versions.
The main activists have been Matthias and Amanda, many thanks to them !
webgui already supports visualization of higher order scalar and vectorial fields, clipping planes, and animation of time-dependent and complex valued solutions.
With webgui you can run the IPython kernel on a server, and visualize locally within your jupyter session. It is also the basis for interactive computing in a cloud. With nbconvert you can generate html pages including interactive views for tutorials and presentation of your results.
webgui is based on webgl, threejs, and jupyter notebook extension.
Webgui is amazing. But I encounter a couple of questions:
Q1: How to modify default parameters in webgui? For netgen gui we have all the options in ngsolve.internal import visoptions, viewoptions to play with…
Q2: can you fix a bug for quads mesh? currently, the quad mesh only present a triangle instead of square for the element…
Q1: That’s a good point. The Draw() function handles some arguments already (like min, max draw_surf, draw_vol). We still need to think about an interface to expose other settings (like camera, clipping plane etc.)
Q2: That’s already work in progress and will be merged within the next days.
One thing I couldn’t figure out is if the webgui can be updated by the command ReDraw to generate a short animation as in the wave DG tutorial. Is this possible?