Specifies the desired aspect ratio of the generated rectangles.
Note that the orientation of the generated rectangles (tall or wide) is not implied by the ratio.
Furthermore, the rectangles ratio are not guaranteed to have the exact specified aspect ratio.
If not specified, the aspect ratio defaults to the golden ratio, φ = (1 + sqrt(5)) / 2, per Kong et al.
Parameters
ratio: number
The specified ratio value greater than or equal to one.
Specifies the desired aspect ratio of the generated rectangles. Note that the orientation of the generated rectangles (tall or wide) is not implied by the ratio. Furthermore, the rectangles ratio are not guaranteed to have the exact specified aspect ratio. If not specified, the aspect ratio defaults to the golden ratio, φ = (1 + sqrt(5)) / 2, per Kong et al.