Heightmap Editor
By
Chris Tralie
function fn(x, y) { function gauss(x, y, cx, cy, sigma) { const dx = x - cx; const dy = y - cy; return Math.exp(-(dx*dx+dy*dy)/(sigma*sigma)); } return gauss(x, y, 0, 0, 0.2); }
Update Heightmap