Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abey79/sketches
/ functions
Functions
112 in github.com/abey79/sketches
⨍
Functions
112
◇
Types & classes
38
↳
Endpoints
2
↓ 12 callers
Method
width
(self)
circular_patterns/sketch_circular_patterns.py:55
↓ 4 callers
Function
_interpolate_crop
Interpolate between two points at a given coordinates.
world/sketch_world.py:124
↓ 4 callers
Method
elem_to_global_path
(self, p: np.ndarray)
circular_patterns/sketch_circular_patterns.py:65
↓ 3 callers
Function
count_modifier
(s, plus, minus)
circular_patterns/sketch_circular_patterns.py:283
↓ 3 callers
Function
draw_bitmap_font
( vsk: vsketch.Vsketch, txt: str, pos: tuple[float | str, float | str], upscal
postcard/sketch_postcard.py:72
↓ 3 callers
Function
draw_image
( vsk: vsketch.Vsketch, img: PIL.Image.Image, upscale: int, pen_width: float )
kare/sketch_kare.py:51
↓ 3 callers
Function
draw_text
( vsk: vsketch.Vsketch, txt: str, pos: tuple[float, float], line_offset: float
postcard/sketch_postcard.py:99
↓ 3 callers
Method
elem_to_global_lc
(self, lc: vp.LineCollection)
circular_patterns/sketch_circular_patterns.py:69
↓ 3 callers
Function
make_bundle
(vsk, start, base_dir, k, freq, freq2)
perlin_agents/sketch_perlin_agents.py:6
↓ 2 callers
Method
draw_grid
( &self, sketch: &mut Sketch, ctx: &mut Context, gutter: f64, stride:
bez_grid/src/main.rs:87
↓ 2 callers
Method
elem_to_global_coord
(self, x, y)
circular_patterns/sketch_circular_patterns.py:58
↓ 2 callers
Function
norm_angle
(a)
circular_patterns/sketch_circular_patterns.py:12
↓ 1 callers
Method
__post_init__
(self)
circular_patterns/sketch_circular_patterns.py:39
↓ 1 callers
Method
angle_diff
Compute angular difference
circular_patterns/sketch_circular_patterns.py:51
↓ 1 callers
Function
build_world
()
world/sketch_world.py:96
↓ 1 callers
Function
check_sum
(img: PIL.Image.Image)
kare/sketch_kare.py:24
↓ 1 callers
Function
convert_to_base_96
Convert an integer to a list of base 96 digits.
kare/sketch_kare.py:15
↓ 1 callers
Function
crop_half_plane
Adapted from vpype.crop_half_plane to support NxM array (lines of N M-dimensional points)
world/sketch_world.py:143
↓ 1 callers
Function
export_glyphs
(font_path: pathlib.Path, directory: pathlib.Path, size=625, down=20)
kare/extract_glyphs.py:17
↓ 1 callers
Function
extract_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 callers
Function
get_config
(letter_id: int)
machine_typography/overview.py:22
↓ 1 callers
Function
load_glyph
(font_name: str, glyph: str, index: int = 0)
machine_typography/sketch_machine_typography.py:36
↓ 1 callers
Function
main
()
kare/extract_glyphs.py:37
↓ 1 callers
Function
make_checksum_img
(img: PIL.Image.Image, spacing: int = 10)
kare/sketch_kare.py:34
↓ 1 callers
Function
make_drawing
(dwg: str)
circular_patterns/sketch_circular_patterns.py:268
↓ 1 callers
Function
polygon_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 callers
Function
project_polygon
(p: Polygon)
world/sketch_world.py:71
↓ 1 callers
Method
render
(self)
circular_patterns/sketch_circular_patterns.py:48
↓ 1 callers
Method
render_item
Render a single item, centered around (0, 0)
circular_patterns/sketch_circular_patterns.py:91
↓ 1 callers
Function
run_export
(letter_id: int, temp_dir: str)
machine_typography/overview.py:32
↓ 1 callers
Function
text_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
Function
conic_to
(a, b, ctx)
machine_typography/sketch_machine_typography.py:28
Function
cubic_to
(a, b, c, ctx)
machine_typography/sketch_machine_typography.py:32
Method
default
()
bez_grid/src/main.rs:32
Method
default
()
hex_cells/src/main.rs:38
Method
draw
(self, vsk: vsketch.Vsketch)
postcard/sketch_postcard.py:133
Method
draw
(self, vsk: vsketch.Vsketch)
centred_grid/sketch_centred_grid.py:15
Method
draw
(self, vsk: vsketch.Vsketch)
liquid_neon/sketch_liquid_neon.py:13
Method
draw
(self, vsk: vsketch.Vsketch)
fill_test/sketch_fill_test.py:27
Method
draw
(self, vsk: vsketch.Vsketch)
machine_typography/sketch_machine_typography.py:129
Method
draw
(self, vsk: vsketch.Vsketch)
layers/sketch_layers.py:10
Method
draw
(self, vsk: vsketch.Vsketch)
dots/sketch_dots.py:31
Method
draw
(self, vsk: vsketch.Vsketch)
world/sketch_world.py:230
Method
draw
(self, vsk: vsketch.Vsketch)
drift_poly/sketch_drift_poly.py:16
Method
draw
(self, vsk: vsketch.Vsketch)
hline/sketch_hline.py:17
Method
draw
(self, vsk: vsketch.Vsketch)
dashed_lines/sketch_dashed_lines.py:13
Method
draw
(self, vsk: vsketch.Vsketch)
circular_patterns/sketch_circular_patterns.py:373
Method
draw
(self, vsk: vsketch.Vsketch)
kare/sketch_kare.py:76
Method
draw
(self, vsk: vsketch.Vsketch)
random_lines/sketch_random_lines.py:9
Method
draw
(self, vsk: vsketch.Vsketch)
fish/sketch_fish.py:21
Method
draw
(self, vsk: vsketch.Vsketch)
snowflake/sketch_snowflake.py:10
Method
draw
(self, vsk: vsketch.Vsketch)
perlin_agents/sketch_perlin_agents.py:24
Method
draw
(self, vsk: vsketch.Vsketch)
warp/sketch_warp.py:22
Method
finalize
(self, vsk: vsketch.Vsketch)
postcard/sketch_postcard.py:197
Method
finalize
(self, vsk: vsketch.Vsketch)
centred_grid/sketch_centred_grid.py:43
Method
finalize
(self, vsk: vsketch.Vsketch)
liquid_neon/sketch_liquid_neon.py:41
Method
finalize
(self, vsk: vsketch.Vsketch)
fill_test/sketch_fill_test.py:57
Method
finalize
(self, vsk: vsketch.Vsketch)
machine_typography/sketch_machine_typography.py:365
Method
finalize
(self, vsk: vsketch.Vsketch)
layers/sketch_layers.py:34
Method
finalize
(self, vsk: vsketch.Vsketch)
dots/sketch_dots.py:90
Method
finalize
(self, vsk: vsketch.Vsketch)
world/sketch_world.py:296
Method
finalize
(self, vsk: vsketch.Vsketch)
drift_poly/sketch_drift_poly.py:37
Method
finalize
(self, vsk: vsketch.Vsketch)
hline/sketch_hline.py:63
Method
finalize
(self, vsk: vsketch.Vsketch)
dashed_lines/sketch_dashed_lines.py:31
Method
finalize
(self, vsk: vsketch.Vsketch)
circular_patterns/sketch_circular_patterns.py:417
Method
finalize
(self, vsk: vsketch.Vsketch)
kare/sketch_kare.py:104
Method
finalize
(self, vsk: vsketch.Vsketch)
random_lines/sketch_random_lines.py:25
Method
finalize
(self, vsk: vsketch.Vsketch)
fish/sketch_fish.py:47
Method
finalize
(self, vsk: vsketch.Vsketch)
snowflake/sketch_snowflake.py:45
Method
finalize
(self, vsk: vsketch.Vsketch)
perlin_agents/sketch_perlin_agents.py:35
Method
finalize
(self, vsk: vsketch.Vsketch)
warp/sketch_warp.py:54
Function
get_picture
(ev: int = 0)
world/campi/campi.py:34
Function
line_to
(a, ctx)
machine_typography/sketch_machine_typography.py:24
Function
main
()
bez_grid/src/main.rs:4
Function
main
()
hex_cells/src/main.rs:142
Function
move_to
(a, ctx)
machine_typography/sketch_machine_typography.py:20
Method
render
(self)
circular_patterns/sketch_circular_patterns.py:77
Method
render
(self)
circular_patterns/sketch_circular_patterns.py:138
Method
render
(self)
circular_patterns/sketch_circular_patterns.py:151
Method
render
(self)
circular_patterns/sketch_circular_patterns.py:189
Method
render
(self)
circular_patterns/sketch_circular_patterns.py:203
Method
render
(self)
circular_patterns/sketch_circular_patterns.py:229
Method
render
(self)
circular_patterns/sketch_circular_patterns.py:242
Method
render_item
(self, i, n)
circular_patterns/sketch_circular_patterns.py:102
Method
render_item
(self, i, n)
circular_patterns/sketch_circular_patterns.py:108
Method
render_item
(self, i, n)
circular_patterns/sketch_circular_patterns.py:116
Method
render_item
(self, i, n)
circular_patterns/sketch_circular_patterns.py:123
Method
render_item
(self, i, n)
circular_patterns/sketch_circular_patterns.py:129
Method
render_item
(self, i, n)
circular_patterns/sketch_circular_patterns.py:183
Function
run_motor
(cm: int)
world/campi/campi.py:41
Function
shutdown_event
()
world/campi/campi.py:57
Function
task_animation
Make the animation.
world/dodo.py:133
Function
task_disable_xy
Disable X/Y motors
world/dodo.py:155
Function
task_disable_xy
()
warp/dodo.py:38
Function
task_generate
Generates golden master SVGs from the list of input files.
world/dodo.py:46
Function
task_generate
Generates golden master SVGs from the list of input files.
warp/dodo.py:42
Function
task_plot
Plot the plotter-ready SVGs.
world/dodo.py:97
next →
1–100 of 112, ranked by callers