From 120ceb683e527c48149b74e893164a49cb3b6934 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 2 Nov 2023 10:27:07 +0100 Subject: Add tool to create initial map layout SVG. --- tools/new-layout.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tools/new-layout.js (limited to 'tools') diff --git a/tools/new-layout.js b/tools/new-layout.js new file mode 100644 index 0000000..ce0bb6e --- /dev/null +++ b/tools/new-layout.js @@ -0,0 +1,22 @@ +const print = console.log + +if (process.argv.length < 4) { + print("usage: node new-layout.js [image.jpg]") + process.exit(1) +} + +var w = Number(process.argv[2]) +var h = Number(process.argv[3]) +var m = process.argv[4] || "../map75.jpg" + +print(` + + + +`) -- cgit v1.2.3