From 5615c6d7a37ad8d53b8964188f653eb0a17f204d Mon Sep 17 00:00:00 2001 From: Rose Liverman Date: Sat, 18 Jul 2026 05:23:23 +0000 Subject: [PATCH] Update README with example of normalize function --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 32b7e67..e6b0b07 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,9 @@ map = heightmap.create(150, 300, -1, 1) -- use the custom height function and normalize with a range of 10 to 20 map = heightmap.create(200, 200, f, 10, 20) + +-- re-normalize a map in-place at any time (example range of 0 to 1) +heightmap.normalize(map, 0, 1) ``` How it Works