plot_surface_dgrid
go-to Colored segmentation isosurface from distance grid (Three.js mesh trace).
threejs_viz.plot_surface_dgrid(
dgrid,
isovalue,
ase_atoms,
region_labels=None,
select='all',
opacity=1.0,
cscale=None,
color='blue',
stepsize=1,
stylize=False,
random_seed=0,
hover_label='Region :',
taubin_smooth=False,
taubin_iterations=3,
taubin_lambda=0.2175,
taubin_nu=-0.2175,
**kwargs_mesh,
)Build a Three.js isosurface mesh trace from a distance grid and region labels.