Function: createDiceRow()
createDiceRow(
options,buff):VGroup
Defined in: mobjects/probability/DiceFace.ts:310
Create a VGroup containing all six die faces arranged in a row.
Parameters
options
Omit<DiceFaceOptions, "value" | "center"> = {}
Shared options applied to each DiceFace
buff
number = 0.3
Buffer/spacing between faces. Default: 0.3
Returns
A VGroup containing DiceFace mobjects for values 1-6
Example
const allFaces = createDiceRow({ size: 1 });
scene.add(allFaces);