class Geometry · Computations
PackCirclesInCircleOptions
Options for Pack.circlesInCircle (circles packed, then scaled so that the whole packing fits
into a circle).
All fields are optional. Numbers can be given as plain numbers or as reactive values; the value they hold when the function runs is used.
Properties
orderoptional
order?: "given" | "size"The order in which the circles are packed: "size" (default) packs the large ones first, so
they end up in the middle; "given" keeps the order of the list.
paddingoptional
padding?: number | RealThe smallest gap between two circles before scaling (default 0), in the units of the input radii: it is scaled with the packing, so the gaps in the result are the padding times the factor of the radii.
