Materials

class geometries.hyp.materials.augmentedCube.AugmentedCubeMaterial.AugmentedCubeMaterial(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.hyp.materials.augmentedCube.AugmentedCubeMaterial.AugmentedCubeMaterial.AugmentedCubeMaterial

Constructor. The constructor takes no argument.

class geometries.hyp.materials.gradientColor.GradientColorMaterial.GradientColorMaterial(color1, color2, start1, start2)

Gradient along the z-direction

Constructor. The constructor takes no argument.

Arguments:
  • color1 (Color) – first color

  • color2 (Color) – second color

  • start1 (number) – z-coordinate for color 1

  • start2 (number) – z-coordinate for color 2

geometries.hyp.materials.gradientColor.GradientColorMaterial.GradientColorMaterial.GradientColorMaterial

Constructor. The constructor takes no argument.

class geometries.hyp.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.hyp.materials.multiColor.MultiColorMaterial.MultiColorMaterial.MultiColorMaterial

Constructor. The constructor takes no argument.

class geometries.hyp.materials.multiColor2.MultiColor2Material.MultiColor2Material(mainColor, accent1, accent2, accent3)

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

geometries.hyp.materials.multiColor2.MultiColor2Material.MultiColor2Material.MultiColor2Material

Constructor. The constructor takes no argument.

class geometries.hyp.materials.noiseColor.NoiseColorMaterial.NoiseColorMaterial(mainColor, weight, intensity)

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

  • intensity (number) – amplitude of the variation

geometries.hyp.materials.noiseColor.NoiseColorMaterial.NoiseColorMaterial.NoiseColorMaterial

Constructor. The constructor takes no argument.

class geometries.hyp.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.hyp.materials.varyingColor.VaryingColorMaterial.VaryingColorMaterial.VaryingColorMaterial

Constructor. The constructor takes no argument.