sesopenko_diamond_square v0.1.0 Sesopenko.DiamondSquare
Documentation for DiamondSquare.
Link to this section Summary
Functions
Generates a full list of diamond points, spanning a 2 dimensional axis
Generates a list of diamond points spanning a 1 dimensional axis
Generates a full list of square points spanning a 2 dimensional axis
Link to this section Functions
Link to this function
apply_diamond(n, i, grid)
Link to this function
apply_square(n, i, grid)
Link to this function
average_points(grid, points)
Link to this function
calc_size(n)
Link to this function
gen_diamond_points(n, i)
Generates a full list of diamond points, spanning a 2 dimensional axis
Link to this function
gen_diamond_span_list(n, iteration)
Generates a list of diamond points spanning a 1 dimensional axis
Link to this function
gen_noise(n, i, max_scale \\ 128.0)
Link to this function
gen_square_points(n, i)
Generates a full list of square points spanning a 2 dimensional axis
Link to this function
get_feeding_points_for_diamond(n, iteration, arg)
Link to this function
get_feeding_points_for_square(n, iteration, arg)
Link to this function
initialize_grid(n)
Link to this function
perform_step(diamond_square)
Link to this function
set_corners(grid, corners)
Link to this function
step_to_end(diamond_square)
Link to this function
step_to_end(n, i, diamond_square)
Link to this function