Interface: WritingPenOptions
Defined in: src/mobjects/writing-pen/WritingPen.ts:7
Options for WritingPen.
Properties
color?
optionalcolor:string
Defined in: src/mobjects/writing-pen/WritingPen.ts:21
Color of the built-in vector pen. Default: white.
length?
optionallength:number
Defined in: src/mobjects/writing-pen/WritingPen.ts:23
Length of the built-in pen barrel in scene units. Default: 0.8.
tip?
optionaltip:Mobject
Defined in: src/mobjects/writing-pen/WritingPen.ts:13
Custom mobject used as the pen body (for example an ImageMobject of a hand). When omitted, the pen is a vector nib and barrel built from polygons, so no image asset is needed.
tipOffset?
optionaltipOffset:Vector3Tuple
Defined in: src/mobjects/writing-pen/WritingPen.ts:19
Position of the nib tip in the pen's local frame, relative to the pen
origin. Default [0, 0, 0], which matches the built-in vector pen. For a
custom tip, set this to the fingertip or nib point of that mobject.