Modelling functions for various triangles.
Methods
(static) equilateral(opts)
Generates an equilateral triangle.
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
opts |
object |
Properties
|
Returns:
...
(static) right30(opts)
Generates a right triangle with a 30-degree angle.
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
object |
Properties
|
Returns:
...
(static) right45(opts)
Generates a right triangle with a 45-degree angle.
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
opts |
object |
Properties
|
Returns:
...
(static) rightBronze(opts)
Generates a right triangle with side lengths corresponding to the Bronze ratio.
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
object |
Properties
|
Returns:
...
(static) rightCopper(opts)
Generates a right triangle with side lengths corresponding to the Copper ratio.
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
object |
Properties
|
Returns:
...
(static) rightGolden(opts)
Generates a right triangle with side lengths corresponding to the Golden ratio.
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
object |
Properties
|
Returns:
...
(static) rightSilver(opts)
Generates a right triangle with side lengths corresponding to the Silver ratio.
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
object |
Properties
|
Returns:
...