Function: sketch()
sketch<
T>(mobject,options):T
Defined in: src/mobjects/sketch/sketch.ts:203
Return a hand-drawn (sketch) copy of a VMobject.
The source is copied first, so it is never changed. Every family member that owns points is perturbed with a seeded PRNG, which keeps the output deterministic for a given seed. The copy keeps the source type, stroke and fill style, so it is a drop-in replacement.
Type Parameters
T
T extends VMobject
Parameters
mobject
T
Source VMobject (line, polygon, circle, text, group, ...)
options
SketchOptions = {}
Sketch options; see SketchOptions
Returns
T
A new VMobject with the hand-drawn path