Namespace: rectangle

profiles.shapes.rectangle

Modelling functions for various rectangles.
Source:

Methods

(static) bronze(opts)

Generates a rectangle with side lengths corresponding to the Bronze ratio.
Parameters:
Name Type Description
opts object
Properties
Name Type Description
width number
depth number
Source:
Returns:
...

(static) copper(opts)

Generates a rectangle with side lengths corresponding to the Copper ratio.
Parameters:
Name Type Description
opts object
Properties
Name Type Description
width number
depth number
Source:
Returns:
...

(static) golden(opts)

Generates a rectangle with side lengths corresponding to the Golden ratio.
Parameters:
Name Type Description
opts object
Properties
Name Type Description
width number
depth number
Source:
Returns:
...

(static) plastic(opts)

Generates a rectangle with side lengths corresponding to the Plastic ratio.
Parameters:
Name Type Description
opts object
Properties
Name Type Description
width number
depth number
Source:
Returns:
...

(static) silver(opts)

Generates a rectangle with side lengths corresponding to the Silver ratio.
Parameters:
Name Type Description
opts object
Properties
Name Type Description
width number
depth number
Source:
Returns:
...

(static) sixtyThirty(opts)

Generates a rectangle with side lengths corresponding to a 30-degree right triangle's sides.
Parameters:
Name Type Description
opts object
Properties
Name Type Description
width number
depth number
Source:
Returns:
...

(static) superGolden(opts)

Generates a rectangle with side lengths corresponding to the Super-golden ratio.
Parameters:
Name Type Description
opts object
Properties
Name Type Description
width number
depth number
Source:
Returns:
...