Materials

class geometries.h2e.materials.multiColor.MultiColorMaterial.MultiColorMaterial(mainColor, accent1, accent2, accent3, grid)

A material that display a single plain color

Constructor. The constructor takes no argument.

Arguments:
  • mainColor (Color) – the color of the material

  • accent1 (Color) – amplitudes of the variations on each channel

  • accent2 (Color) – amplitudes of the variations on each channel

  • accent3 (Color) – amplitudes of the variations on each channel

  • grid (Bool) – do we draw a grid or not

geometries.h2e.materials.multiColor.MultiColorMaterial.MultiColorMaterial.MultiColorMaterial

Constructor. The constructor takes no argument.

class geometries.h2e.materials.noisyQuotientGenus2.NoisyQuotientGenus2Material.NoisyQuotientGenus2Material(mainColors, weight)

Warning: this material only works with the set of teleportations quotientGenus2 (indeed it uses the finite part of the group element to decide the color) of the cell

Constructor. The constructor takes no argument.

Arguments:
  • mainColors (Array.<Color>) – an array of 6 colors

  • weight (Color) – amplitudes of the variations on each channel

geometries.h2e.materials.noisyQuotientGenus2.NoisyQuotientGenus2Material.NoisyQuotientGenus2Material.NoisyQuotientGenus2Material

Constructor. The constructor takes no argument.

class geometries.h2e.materials.quotientGenus2.QuotientGenus2Material.QuotientGenus2Material(mainColors, weight)

Warning: this material only works with the set of teleportations quotientGenus2 (indeed it uses the finite part of the group element to decide the color) of the cell

Constructor. The constructor takes no argument.

Arguments:
  • mainColors (Array.<Color>) – an array of 6 colors

  • weight (Color) – amplitudes of the variations on each channel

geometries.h2e.materials.quotientGenus2.QuotientGenus2Material.QuotientGenus2Material.QuotientGenus2Material

Constructor. The constructor takes no argument.

class geometries.h2e.materials.varyingColor.VaryingColorMaterial.VaryingColorMaterial(mainColor, weight)

A material that display a single plain color

Constructor. The constructor takes no argument.

Arguments:
  • mainColor (Color) – the color of the material

  • weight (Color) – amplitudes of the variations on each channel

geometries.h2e.materials.varyingColor.VaryingColorMaterial.VaryingColorMaterial.VaryingColorMaterial

Constructor. The constructor takes no argument.