Skip to main content

Module effects

Module effects 

Source
Expand description

Effects and transforms for post-processing generated maps.

Most effects mutate the grid in place.

Enums§

MarkerConnectMethod
Methods for connecting semantic markers

Functions§

bridge_gaps
carve_path
Carve a path into the grid with an optional radius around each step.
clear_rect
Clear a rectangular area centered at center with size (w, h).
close
connect_markers
Connect the first matching marker of each type.
connect_regions_spanning
Connect regions using spanning tree with optional extra connections for loops
dijkstra_map
dilate
distance_transform
domain_warp
edge_detect
erode
find_chokepoints
gaussian_blur
gradient_blend
invert
label_regions
Label disconnected regions and return labels array and region count
median_filter
mirror
open
radial_blend
remove_dead_ends
resize
rotate
scatter
threshold