MCPcopy Create free account

hub / github.com/abey79/sketches / functions

Functions112 in github.com/abey79/sketches

↓ 12 callersMethodwidth
(self)
circular_patterns/sketch_circular_patterns.py:55
↓ 4 callersFunction_interpolate_crop
Interpolate between two points at a given coordinates.
world/sketch_world.py:124
↓ 4 callersMethodelem_to_global_path
(self, p: np.ndarray)
circular_patterns/sketch_circular_patterns.py:65
↓ 3 callersFunctioncount_modifier
(s, plus, minus)
circular_patterns/sketch_circular_patterns.py:283
↓ 3 callersFunctiondraw_bitmap_font
( vsk: vsketch.Vsketch, txt: str, pos: tuple[float | str, float | str], upscal
postcard/sketch_postcard.py:72
↓ 3 callersFunctiondraw_image
( vsk: vsketch.Vsketch, img: PIL.Image.Image, upscale: int, pen_width: float )
kare/sketch_kare.py:51
↓ 3 callersFunctiondraw_text
( vsk: vsketch.Vsketch, txt: str, pos: tuple[float, float], line_offset: float
postcard/sketch_postcard.py:99
↓ 3 callersMethodelem_to_global_lc
(self, lc: vp.LineCollection)
circular_patterns/sketch_circular_patterns.py:69
↓ 3 callersFunctionmake_bundle
(vsk, start, base_dir, k, freq, freq2)
perlin_agents/sketch_perlin_agents.py:6
↓ 2 callersMethoddraw_grid
( &self, sketch: &mut Sketch, ctx: &mut Context, gutter: f64, stride:
bez_grid/src/main.rs:87
↓ 2 callersMethodelem_to_global_coord
(self, x, y)
circular_patterns/sketch_circular_patterns.py:58
↓ 2 callersFunctionnorm_angle
(a)
circular_patterns/sketch_circular_patterns.py:12
↓ 1 callersMethod__post_init__
(self)
circular_patterns/sketch_circular_patterns.py:39
↓ 1 callersMethodangle_diff
Compute angular difference
circular_patterns/sketch_circular_patterns.py:51
↓ 1 callersFunctionbuild_world
()
world/sketch_world.py:96
↓ 1 callersFunctioncheck_sum
(img: PIL.Image.Image)
kare/sketch_kare.py:24
↓ 1 callersFunctionconvert_to_base_96
Convert an integer to a list of base 96 digits.
kare/sketch_kare.py:15
↓ 1 callersFunctioncrop_half_plane
Adapted from vpype.crop_half_plane to support NxM array (lines of N M-dimensional points)
world/sketch_world.py:143
↓ 1 callersFunctionexport_glyphs
(font_path: pathlib.Path, directory: pathlib.Path, size=625, down=20)
kare/extract_glyphs.py:17
↓ 1 callersFunctionextract_name
Extract the name from the address first line. If the line contains square brackets in the form of '[name] surname', return a tuple with the c
postcard/sketch_postcard.py:53
↓ 1 callersFunctionget_config
(letter_id: int)
machine_typography/overview.py:22
↓ 1 callersFunctionload_glyph
(font_name: str, glyph: str, index: int = 0)
machine_typography/sketch_machine_typography.py:36
↓ 1 callersFunctionmain
()
kare/extract_glyphs.py:37
↓ 1 callersFunctionmake_checksum_img
(img: PIL.Image.Image, spacing: int = 10)
kare/sketch_kare.py:34
↓ 1 callersFunctionmake_drawing
(dwg: str)
circular_patterns/sketch_circular_patterns.py:268
↓ 1 callersFunctionpolygon_area
Computes area of spherical polygon, assuming spherical Earth. Returns result in ratio of the sphere's area if the radius is specified. Ot
world/sketch_world.py:27
↓ 1 callersFunctionproject_polygon
(p: Polygon)
world/sketch_world.py:71
↓ 1 callersMethodrender
(self)
circular_patterns/sketch_circular_patterns.py:48
↓ 1 callersMethodrender_item
Render a single item, centered around (0, 0)
circular_patterns/sketch_circular_patterns.py:91
↓ 1 callersFunctionrun_export
(letter_id: int, temp_dir: str)
machine_typography/overview.py:32
↓ 1 callersFunctiontext_dimension
(txt: str)
postcard/sketch_postcard.py:67
Method__init__
(self, frame: int)
world/dodo.py:29
Method__post_init__
(self)
circular_patterns/sketch_circular_patterns.py:172
Method__post_init__
(self)
warp/dodo.py:26
Functionconic_to
(a, b, ctx)
machine_typography/sketch_machine_typography.py:28
Functioncubic_to
(a, b, c, ctx)
machine_typography/sketch_machine_typography.py:32
Methoddefault
()
bez_grid/src/main.rs:32
Methoddefault
()
hex_cells/src/main.rs:38
Methoddraw
(self, vsk: vsketch.Vsketch)
postcard/sketch_postcard.py:133
Methoddraw
(self, vsk: vsketch.Vsketch)
centred_grid/sketch_centred_grid.py:15
Methoddraw
(self, vsk: vsketch.Vsketch)
liquid_neon/sketch_liquid_neon.py:13
Methoddraw
(self, vsk: vsketch.Vsketch)
fill_test/sketch_fill_test.py:27
Methoddraw
(self, vsk: vsketch.Vsketch)
machine_typography/sketch_machine_typography.py:129
Methoddraw
(self, vsk: vsketch.Vsketch)
layers/sketch_layers.py:10
Methoddraw
(self, vsk: vsketch.Vsketch)
dots/sketch_dots.py:31
Methoddraw
(self, vsk: vsketch.Vsketch)
world/sketch_world.py:230
Methoddraw
(self, vsk: vsketch.Vsketch)
drift_poly/sketch_drift_poly.py:16
Methoddraw
(self, vsk: vsketch.Vsketch)
hline/sketch_hline.py:17
Methoddraw
(self, vsk: vsketch.Vsketch)
dashed_lines/sketch_dashed_lines.py:13
Methoddraw
(self, vsk: vsketch.Vsketch)
circular_patterns/sketch_circular_patterns.py:373
Methoddraw
(self, vsk: vsketch.Vsketch)
kare/sketch_kare.py:76
Methoddraw
(self, vsk: vsketch.Vsketch)
random_lines/sketch_random_lines.py:9
Methoddraw
(self, vsk: vsketch.Vsketch)
fish/sketch_fish.py:21
Methoddraw
(self, vsk: vsketch.Vsketch)
snowflake/sketch_snowflake.py:10
Methoddraw
(self, vsk: vsketch.Vsketch)
perlin_agents/sketch_perlin_agents.py:24
Methoddraw
(self, vsk: vsketch.Vsketch)
warp/sketch_warp.py:22
Methodfinalize
(self, vsk: vsketch.Vsketch)
postcard/sketch_postcard.py:197
Methodfinalize
(self, vsk: vsketch.Vsketch)
centred_grid/sketch_centred_grid.py:43
Methodfinalize
(self, vsk: vsketch.Vsketch)
liquid_neon/sketch_liquid_neon.py:41
Methodfinalize
(self, vsk: vsketch.Vsketch)
fill_test/sketch_fill_test.py:57
Methodfinalize
(self, vsk: vsketch.Vsketch)
machine_typography/sketch_machine_typography.py:365
Methodfinalize
(self, vsk: vsketch.Vsketch)
layers/sketch_layers.py:34
Methodfinalize
(self, vsk: vsketch.Vsketch)
dots/sketch_dots.py:90
Methodfinalize
(self, vsk: vsketch.Vsketch)
world/sketch_world.py:296
Methodfinalize
(self, vsk: vsketch.Vsketch)
drift_poly/sketch_drift_poly.py:37
Methodfinalize
(self, vsk: vsketch.Vsketch)
hline/sketch_hline.py:63
Methodfinalize
(self, vsk: vsketch.Vsketch)
dashed_lines/sketch_dashed_lines.py:31
Methodfinalize
(self, vsk: vsketch.Vsketch)
circular_patterns/sketch_circular_patterns.py:417
Methodfinalize
(self, vsk: vsketch.Vsketch)
kare/sketch_kare.py:104
Methodfinalize
(self, vsk: vsketch.Vsketch)
random_lines/sketch_random_lines.py:25
Methodfinalize
(self, vsk: vsketch.Vsketch)
fish/sketch_fish.py:47
Methodfinalize
(self, vsk: vsketch.Vsketch)
snowflake/sketch_snowflake.py:45
Methodfinalize
(self, vsk: vsketch.Vsketch)
perlin_agents/sketch_perlin_agents.py:35
Methodfinalize
(self, vsk: vsketch.Vsketch)
warp/sketch_warp.py:54
Functionget_picture
(ev: int = 0)
world/campi/campi.py:34
Functionline_to
(a, ctx)
machine_typography/sketch_machine_typography.py:24
Functionmain
()
bez_grid/src/main.rs:4
Functionmain
()
hex_cells/src/main.rs:142
Functionmove_to
(a, ctx)
machine_typography/sketch_machine_typography.py:20
Methodrender
(self)
circular_patterns/sketch_circular_patterns.py:77
Methodrender
(self)
circular_patterns/sketch_circular_patterns.py:138
Methodrender
(self)
circular_patterns/sketch_circular_patterns.py:151
Methodrender
(self)
circular_patterns/sketch_circular_patterns.py:189
Methodrender
(self)
circular_patterns/sketch_circular_patterns.py:203
Methodrender
(self)
circular_patterns/sketch_circular_patterns.py:229
Methodrender
(self)
circular_patterns/sketch_circular_patterns.py:242
Methodrender_item
(self, i, n)
circular_patterns/sketch_circular_patterns.py:102
Methodrender_item
(self, i, n)
circular_patterns/sketch_circular_patterns.py:108
Methodrender_item
(self, i, n)
circular_patterns/sketch_circular_patterns.py:116
Methodrender_item
(self, i, n)
circular_patterns/sketch_circular_patterns.py:123
Methodrender_item
(self, i, n)
circular_patterns/sketch_circular_patterns.py:129
Methodrender_item
(self, i, n)
circular_patterns/sketch_circular_patterns.py:183
Functionrun_motor
(cm: int)
world/campi/campi.py:41
Functionshutdown_event
()
world/campi/campi.py:57
Functiontask_animation
Make the animation.
world/dodo.py:133
Functiontask_disable_xy
Disable X/Y motors
world/dodo.py:155
Functiontask_disable_xy
()
warp/dodo.py:38
Functiontask_generate
Generates golden master SVGs from the list of input files.
world/dodo.py:46
Functiontask_generate
Generates golden master SVGs from the list of input files.
warp/dodo.py:42
Functiontask_plot
Plot the plotter-ready SVGs.
world/dodo.py:97
next →1–100 of 112, ranked by callers