Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dandrino/terrain-erosion-3-ways
/ functions
Functions
46 in github.com/dandrino/terrain-erosion-3-ways
⨍
Functions
46
◇
Types & classes
0
↓ 4 callers
Function
lerp
(x, y, a)
util.py:132
↓ 2 callers
Function
add_point
(p)
util.py:172
↓ 2 callers
Function
compute_height
(points, neighbors, deltas, get_delta_fn=None)
river_network.py:30
↓ 2 callers
Function
min_index
(a)
river_network.py:17
↓ 2 callers
Function
normalize
(x, bounds=(0, 1))
util.py:20
↓ 2 callers
Function
unit_delta
(i, j)
river_network.py:90
↓ 1 callers
Function
apply_slippage
(terrain, repose_slope, cell_width)
simulation.py:19
↓ 1 callers
Function
bump
(shape, sigma)
river_network.py:22
↓ 1 callers
Function
clean_sample
(sample)
generate_training_images.py:16
↓ 1 callers
Function
compute_final_height
(points, neighbors, deltas, volume, upstream, max_delta, river_downcutting_constant)
river_network.py:53
↓ 1 callers
Function
compute_river_network
(points, neighbors, heights, land, directional_inertia, default_water_level,
river_network.py:84
↓ 1 callers
Function
compute_volume
(i)
river_network.py:144
↓ 1 callers
Function
dist_to_mask
(mask)
util.py:202
↓ 1 callers
Function
download_file
(src_id, url, output_dir, tmp_dir)
download_ned_zips.py:26
↓ 1 callers
Function
get_img_array_from_zip
(zip_file, img_name)
extract_height_arrays.py:20
↓ 1 callers
Function
get_previously_downloaded_ids
(dir_path)
download_ned_zips.py:18
↓ 1 callers
Function
get_variants
(a)
generate_training_images.py:43
↓ 1 callers
Function
has_neighbors_in_radius
(p)
util.py:160
↓ 1 callers
Function
main
(argv)
make_hillshaded_image.py:9
↓ 1 callers
Function
main
(argv)
generate_ml_output.py:12
↓ 1 callers
Function
main
(argv)
ridge_noise.py:12
↓ 1 callers
Function
main
(argv)
generate_training_images.py:49
↓ 1 callers
Function
main
(argv)
extract_height_arrays.py:31
↓ 1 callers
Function
main
(argv)
make_grayscale_image.py:9
↓ 1 callers
Function
main
(argv)
river_network.py:175
↓ 1 callers
Function
main
(argv)
domain_warping.py:10
↓ 1 callers
Function
main
(argv)
simulation.py:27
↓ 1 callers
Function
main
(argv)
download_ned_zips.py:43
↓ 1 callers
Function
main
(argv)
plain_old_fbm.py:10
↓ 1 callers
Function
make_grid_points
(shape)
util.py:137
↓ 1 callers
Function
noise_octave
(shape, f)
ridge_noise.py:9
↓ 1 callers
Function
poisson_disc_sampling
(shape, radius, retries=16)
util.py:147
↓ 1 callers
Function
remove_lakes
(mask)
river_network.py:167
↓ 1 callers
Function
render_triangulation
(shape, tri, values)
river_network.py:158
Function
displace
(a, delta)
util.py:61
Function
fbm
(shape, p, lower=-np.inf, upper=np.inf)
util.py:25
Function
gaussian_blur
(a, sigma=1.0)
util.py:224
Function
gaussian_gradient
(a, sigma=1.0)
util.py:78
Function
get_delta
(src, dst)
river_network.py:60
Function
hillshaded
(a, land_mask=None, angle=270)
util.py:122
Function
load_from_file
(path)
util.py:100
Function
read_csv
(csv_path)
util.py:14
Function
sample
(a, offset)
util.py:38
Function
save_as_png
(a, path)
util.py:109
Function
simple_gradient
(a)
util.py:92
Function
worley
(shape, spacing)
util.py:215