Skip to content

Interface: IsosurfaceTraceSurface ​

The isosurfaces.

Properties ​

PropertyTypeDefault valueDescription
count?number2Number of isosurfaces, evenly spread from isomin to isomax (2: just those two; 1: the middle value). Minimum: 1
fill?number1Share of each surface triangle drawn: below 1 leaves a hole in each triangle (a lattice), 0 hides the surfaces. Range: 0 – 1
pattern?| "all" | "E" | "B" | "A" | "C" | "D" | "odd" | "even" | `E+${string}` | `B+${string}` | `A+${string}` | `C+${string}` | `D+${string}`"all"Which parts of the surfaces are drawn: every grid cell is cut into five tetrahedra (A–D at four corners, E in the middle); 'all', a combination such as 'A+B', or 'odd' / 'even' (only the cells whose i + j + k is odd / even: a checkerboard).
show?booleantrueDraw the isosurfaces between isomin and isomax.

Released under the MIT License.