mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
refactor: migrate heightmap editor
This commit is contained in:
parent
a97e7f44f6
commit
a15f60150f
26 changed files with 103 additions and 80 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import * as d3 from "d3";
|
||||
|
||||
import {getColorScheme, getHeightColor} from "utils/colorUtils";
|
||||
import {round} from "utils/stringUtils";
|
||||
|
||||
export function drawHeightmap() {
|
||||
terrs.selectAll("*").remove();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue