Materials
- class geometries.sol.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.sol.materials.multiColor.MultiColorMaterial.MultiColorMaterial.MultiColorMaterial
Constructor. The constructor takes no argument.
- class geometries.sol.materials.nary.NaryMaterial.NaryMaterial(t, n, widths, colors)
A material that display an n-ary tilling on a hyperbolic sheet It works with at most four colors. The given width correspond to the relative with of each square. The constructor will normalize these numbers so that their sum is one.
Constructor
- Arguments:
t (number) – horizontal translation (action of a parabolic element on the tilling)
n (number) – scaling (both action of a loxodromic element on the tilling and the multiplicity)
widths (Array.<number>) – a list of four numbers
colors (Array.<Color>) – a list of four colors
- geometries.sol.materials.nary.NaryMaterial.NaryMaterial.NaryMaterial
Constructor
- geometries.sol.materials.nary.NaryMaterial.NaryMaterial.color0
type: Color
first color
- geometries.sol.materials.nary.NaryMaterial.NaryMaterial.color1
type: Color
second color
- geometries.sol.materials.nary.NaryMaterial.NaryMaterial.color2
type: Color
third color
- geometries.sol.materials.nary.NaryMaterial.NaryMaterial.color3
type: Color
fourth color
- geometries.sol.materials.nary.NaryMaterial.NaryMaterial.n
type: number
second direction of the checkerboard
- geometries.sol.materials.nary.NaryMaterial.NaryMaterial.t
type: number
first direction of the checkerboard
- class geometries.sol.materials.naryEquidistant.NaryEquidistantMaterial.NaryEquidistantMaterial(t, n, heights, widths, colors)
A material that display an n-ary tilling on a hyperbolic sheet The vertical lines delimiting the colors are not geodesic, but equidistant lines The horizontal lines delimiting the colors are horocycles. It works with at most four colors. The given heights correspond to the relative heights of each square. The given widths parametrize the equidistant curves The constructor will normalize these numbers so that their sum is one.
Constructor
- Arguments:
t (number) – horizontal translation (action of a parabolic element on the tilling)
n (number) – scaling (both action of a loxodromic element on the tilling and the multiplicity)
heights (Array.<number>) – a list of four numbers
widths (Array.<number>) – a list of four numbers
colors (Array.<Color>) – a list of four colors
- geometries.sol.materials.naryEquidistant.NaryEquidistantMaterial.NaryEquidistantMaterial.NaryEquidistantMaterial
Constructor
- geometries.sol.materials.naryEquidistant.NaryEquidistantMaterial.NaryEquidistantMaterial.color0
type: Color
first color
- geometries.sol.materials.naryEquidistant.NaryEquidistantMaterial.NaryEquidistantMaterial.color1
type: Color
second color
- geometries.sol.materials.naryEquidistant.NaryEquidistantMaterial.NaryEquidistantMaterial.color2
type: Color
third color
- geometries.sol.materials.naryEquidistant.NaryEquidistantMaterial.NaryEquidistantMaterial.color3
type: Color
fourth color
- geometries.sol.materials.naryEquidistant.NaryEquidistantMaterial.NaryEquidistantMaterial.n
type: number
second direction of the checkerboard
- geometries.sol.materials.naryEquidistant.NaryEquidistantMaterial.NaryEquidistantMaterial.t
type: number
first direction of the checkerboard
- class geometries.sol.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.sol.materials.varyingColor.VaryingColorMaterial.VaryingColorMaterial.VaryingColorMaterial
Constructor. The constructor takes no argument.