Jupyter Notebook Visualization
Visualize ddg objects in jupyter notebooks using pythreejs bridge to three.js As an overall goal we want to have a datastructure that mirrors the OpenGL API. We can achieve this with an IFS with attributes, see 271!. We could then use attribute arrays directly as buffer data in OpenGL.
-
try feeding three.js (or other OpenGL implementations) with quad/polygon faces. -
have IFS attributes that can be directly used as OpenGL buffers -
if polygon faces are not possible, implement a quick triangulation mechanism (ie fan triangulation) -
convert any possible library object to IFS for visualization. -
create an main three.js visualization function.