by Yubo 'Paul' Yang

# Marching Cubes

Marching cubes is a Classic algorithm for isosurface extraction. It utilizes efficient table lookups to extract a 2D isosurface from 3D volumetric data. The isosurface is represented in terms of a collection of triangles, which are easily rendered by graphics hardware. Although marching cubes is a rather dated algorithm, it demonstrates much of the concepts behind modern rendering approaches.

## Presentation Summary

In this presentation, I present:

- Basic idea behind the marching cubes algorithm
- Plot PySCF basis functions, orbitals, and charge density using marching cubes implemented in skimage.measure

## Examples

- example 1: simplest demo (Gaussian)
- example 2: basis functions from PySCF
- example 3: Hatree-Fock orbitals/electron density from PySCF

## References

- Polygonising a scalar field, Paul Bourke
- Smooth Voxel Terrain, Mikola Lysenko
- Constrained Elastic Surface Nets, Sarah Gibson

### All visualization

Yubo "Paul" Yang ALGORITHM

visualization