MCPcopy Create free account
hub / github.com/coldtype/coldtype / dip_pen

Function dip_pen

examples/axidraw/nextdraw.py:115–122  ·  view source on GitHub ↗
(seconds=1, location=(0, 0))

Source from the content-addressed store, hash-verified

113 return _aximeta
114
115def dip_pen(seconds=1, location=(0, 0)):
116 return (P()
117 .ch(aximeta(lambda ad: ad
118 .moveto(*location)
119 .pendown()
120 .sleep(seconds)
121 .penup()
122 .moveto(0, 0))))
123
124
125class NextDrawChainable():

Callers

nothing calls this directly

Calls 7

PClass · 0.90
chMethod · 0.80
aximetaFunction · 0.70
movetoMethod · 0.45
penupMethod · 0.45
sleepMethod · 0.45
pendownMethod · 0.45

Tested by

no test coverage detected