From 5143ba79a29b4ec116b1ecd86fb224354ecb7e18 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sat, 14 Jun 2025 03:40:56 +0200 Subject: [PATCH] Spread out the regions a bit --- ingest/fuckifier2.js | 13 ++ public/universe.json | 276 +++++++++++++++++++++---------------------- 2 files changed, 151 insertions(+), 138 deletions(-) create mode 100644 ingest/fuckifier2.js diff --git a/ingest/fuckifier2.js b/ingest/fuckifier2.js new file mode 100644 index 0000000..f302d1e --- /dev/null +++ b/ingest/fuckifier2.js @@ -0,0 +1,13 @@ +import fs from 'fs'; + +const universe = JSON.parse(fs.readFileSync('../public/universe.json', 'utf8')); + +for (const region of universe) { + region.x = parseInt(region.x); + region.y = parseInt(region.y); + + region.x = region.x * 1.4; + region.y = region.y * 1.4; +} + +fs.writeFileSync('../public/universe.json', JSON.stringify(universe, null, 2)); diff --git a/public/universe.json b/public/universe.json index 7ef9d7a..786ac9f 100644 --- a/public/universe.json +++ b/public/universe.json @@ -1,8 +1,8 @@ [ { "regionName": "Derelik", - "x": "413", - "y": "357", + "x": 578.1999999999999, + "y": 499.79999999999995, "security": 0.5149152991697388, "connectsTo": [ "Devoid", @@ -15,8 +15,8 @@ }, { "regionName": "The Forge", - "x": "394", - "y": "200", + "x": 551.5999999999999, + "y": 280, "security": 0.607998281731568, "connectsTo": [ "The Citadel", @@ -31,8 +31,8 @@ }, { "regionName": "Vale of the Silent", - "x": "406", - "y": "122", + "x": 568.4, + "y": 170.79999999999998, "security": -0.34033237092591845, "connectsTo": [ "Tribute", @@ -43,14 +43,14 @@ }, { "regionName": "UUA-F4", - "x": "530", - "y": "63", + "x": 742, + "y": 88.19999999999999, "security": -0.0100630626421844 }, { "regionName": "Detorid", - "x": "574", - "y": "460", + "x": 803.5999999999999, + "y": 644, "security": -0.38149775065935104, "connectsTo": [ "Wicked Creek", @@ -61,8 +61,8 @@ }, { "regionName": "Wicked Creek", - "x": "528", - "y": "418", + "x": 739.1999999999999, + "y": 585.1999999999999, "security": -0.36377813715148133, "connectsTo": [ "Insmother", @@ -72,8 +72,8 @@ }, { "regionName": "Cache", - "x": "648", - "y": "284", + "x": 907.1999999999999, + "y": 397.59999999999997, "security": -0.37385254575820037, "connectsTo": [ "Insmother", @@ -84,8 +84,8 @@ }, { "regionName": "Scalding Pass", - "x": "542", - "y": "368", + "x": 758.8, + "y": 515.1999999999999, "security": -0.26204605431927636, "connectsTo": [ "Great Wildlands", @@ -96,8 +96,8 @@ }, { "regionName": "Insmother", - "x": "618", - "y": "382", + "x": 865.1999999999999, + "y": 534.8, "security": -0.38035062758311483, "connectsTo": [ "Wicked Creek", @@ -110,8 +110,8 @@ }, { "regionName": "Tribute", - "x": "340", - "y": "92", + "x": 475.99999999999994, + "y": 128.79999999999998, "security": -0.32759587715029576, "connectsTo": [ "Pure Blind", @@ -122,8 +122,8 @@ }, { "regionName": "Great Wildlands", - "x": "534", - "y": "314", + "x": 747.5999999999999, + "y": 439.59999999999997, "security": -0.17105834314078935, "connectsTo": [ "Scalding Pass", @@ -138,8 +138,8 @@ }, { "regionName": "Curse", - "x": "442", - "y": "402", + "x": 618.8, + "y": 562.8, "security": -0.07338164115656037, "connectsTo": [ "Scalding Pass", @@ -151,8 +151,8 @@ }, { "regionName": "Malpais", - "x": "559", - "y": "171", + "x": 782.5999999999999, + "y": 239.39999999999998, "security": -0.40824559283333334, "connectsTo": [ "The Kalevala Expanse", @@ -164,8 +164,8 @@ }, { "regionName": "Catch", - "x": "354", - "y": "472", + "x": 495.59999999999997, + "y": 660.8, "security": -0.2717928654079326, "connectsTo": [ "Providence", @@ -180,8 +180,8 @@ }, { "regionName": "Venal", - "x": "350", - "y": "52", + "x": 489.99999999999994, + "y": 72.8, "security": -0.3001421437136561, "connectsTo": [ "Tribute", @@ -194,8 +194,8 @@ }, { "regionName": "Lonetrek", - "x": "339", - "y": "142", + "x": 474.59999999999997, + "y": 198.79999999999998, "security": 0.606987031951157, "connectsTo": [ "The Citadel", @@ -207,14 +207,14 @@ }, { "regionName": "J7HZ-F", - "x": "469", - "y": "64", + "x": 656.5999999999999, + "y": 89.6, "security": -0.16418575262906632 }, { "regionName": "The Spire", - "x": "616", - "y": "203", + "x": 862.4, + "y": 284.2, "security": -0.475105936625, "connectsTo": [ "Perrigen Falls", @@ -228,14 +228,14 @@ }, { "regionName": "A821-A", - "x": "452", - "y": "36", + "x": 632.8, + "y": 50.4, "security": -0.034137264544742495 }, { "regionName": "Tash-Murkon", - "x": "221", - "y": "405", + "x": 309.4, + "y": 567, "security": 0.6603052261710941, "connectsTo": [ "Domain", @@ -247,8 +247,8 @@ }, { "regionName": "Outer Passage", - "x": "648", - "y": "146", + "x": 907.1999999999999, + "y": 204.39999999999998, "security": -0.49631053780681816, "connectsTo": [ "The Spire", @@ -259,8 +259,8 @@ }, { "regionName": "Stain", - "x": "281", - "y": "497", + "x": 393.4, + "y": 695.8, "security": -0.10455711547221865, "connectsTo": [ "Catch", @@ -271,8 +271,8 @@ }, { "regionName": "Pure Blind", - "x": "271", - "y": "98", + "x": 379.4, + "y": 137.2, "security": -0.14495905016215693, "connectsTo": [ "Tribute", @@ -284,8 +284,8 @@ }, { "regionName": "Immensea", - "x": "436", - "y": "450", + "x": 610.4, + "y": 630, "security": -0.4063121969772383, "connectsTo": [ "Catch", @@ -295,8 +295,8 @@ }, { "regionName": "Etherium Reach", - "x": "502", - "y": "197", + "x": 702.8, + "y": 275.79999999999995, "security": -0.27166658504, "connectsTo": [ "The Kalevala Expanse", @@ -310,8 +310,8 @@ }, { "regionName": "Molden Heath", - "x": "470", - "y": "304", + "x": 658, + "y": 425.59999999999997, "security": 0.3680469879577652, "connectsTo": [ "Heimatar", @@ -322,8 +322,8 @@ }, { "regionName": "Geminate", - "x": "444", - "y": "164", + "x": 621.5999999999999, + "y": 229.6, "security": -0.3024275973019025, "connectsTo": [ "Vale of the Silent", @@ -335,8 +335,8 @@ }, { "regionName": "Heimatar", - "x": "410", - "y": "295", + "x": 574, + "y": 413, "security": 0.669170560510317, "connectsTo": [ "Derelik", @@ -349,8 +349,8 @@ }, { "regionName": "Impass", - "x": "376", - "y": "516", + "x": 526.4, + "y": 722.4, "security": -0.2977719593499965, "connectsTo": [ "Tenerifis", @@ -360,8 +360,8 @@ }, { "regionName": "Sinq Laison", - "x": "260", - "y": "255", + "x": 364, + "y": 357, "security": 0.6156939756658657, "connectsTo": [ "The Forge", @@ -377,8 +377,8 @@ }, { "regionName": "The Citadel", - "x": "324", - "y": "199", + "x": 453.59999999999997, + "y": 278.59999999999997, "security": 0.6309940396437572, "connectsTo": [ "Essence", @@ -391,8 +391,8 @@ }, { "regionName": "The Kalevala Expanse", - "x": "498", - "y": "135", + "x": 697.1999999999999, + "y": 189, "security": -0.39691262036231884, "connectsTo": [ "Etherium Reach", @@ -403,8 +403,8 @@ }, { "regionName": "Deklein", - "x": "253", - "y": "20", + "x": 354.2, + "y": 28, "security": -0.6112487431751329, "connectsTo": [ "Venal", @@ -414,8 +414,8 @@ }, { "regionName": "Devoid", - "x": "319", - "y": "371", + "x": 446.59999999999997, + "y": 519.4, "security": 0.5119248873994359, "connectsTo": [ "The Bleak Lands", @@ -427,8 +427,8 @@ }, { "regionName": "Everyshore", - "x": "197", - "y": "248", + "x": 275.79999999999995, + "y": 347.2, "security": 0.6360925705249215, "connectsTo": [ "Sinq Laison", @@ -438,8 +438,8 @@ }, { "regionName": "The Bleak Lands", - "x": "319", - "y": "326", + "x": 446.59999999999997, + "y": 456.4, "security": 0.47874671877399877, "connectsTo": [ "Devoid", @@ -451,8 +451,8 @@ }, { "regionName": "Esoteria", - "x": "256", - "y": "538", + "x": 358.4, + "y": 753.1999999999999, "security": -0.31748632857731396, "connectsTo": [ "Stain", @@ -462,8 +462,8 @@ }, { "regionName": "Oasa", - "x": "616", - "y": "97", + "x": 862.4, + "y": 135.79999999999998, "security": -0.4332066145529412, "connectsTo": [ "Malpais", @@ -474,8 +474,8 @@ }, { "regionName": "Syndicate", - "x": "93", - "y": "174", + "x": 130.2, + "y": 243.6, "security": -0.13152558743062276, "connectsTo": [ "Placid", @@ -487,8 +487,8 @@ }, { "regionName": "Metropolis", - "x": "437", - "y": "254", + "x": 611.8, + "y": 355.59999999999997, "security": 0.58966881561735, "connectsTo": [ "Heimatar", @@ -504,8 +504,8 @@ }, { "regionName": "Domain", - "x": "250", - "y": "360", + "x": 350, + "y": 503.99999999999994, "security": 0.622324871109413, "connectsTo": [ "Kador", @@ -519,8 +519,8 @@ }, { "regionName": "Solitude", - "x": "85", - "y": "267", + "x": 118.99999999999999, + "y": 373.79999999999995, "security": 0.43695860747334253, "connectsTo": [ "Syndicate", @@ -530,8 +530,8 @@ }, { "regionName": "Tenal", - "x": "387", - "y": "4", + "x": 541.8, + "y": 5.6, "security": -0.3992947466678551, "connectsTo": [ "Branch", @@ -541,8 +541,8 @@ }, { "regionName": "Fade", - "x": "247", - "y": "58", + "x": 345.79999999999995, + "y": 81.19999999999999, "security": -0.3635972129581686, "connectsTo": [ "Pure Blind", @@ -552,8 +552,8 @@ }, { "regionName": "Providence", - "x": "319", - "y": "426", + "x": 446.59999999999997, + "y": 596.4, "security": -0.14058107644986062, "connectsTo": [ "Derelik", @@ -565,8 +565,8 @@ }, { "regionName": "Placid", - "x": "180", - "y": "154", + "x": 251.99999999999997, + "y": 215.6, "security": 0.32579435985104327, "connectsTo": [ "Verge Vendor", @@ -581,8 +581,8 @@ }, { "regionName": "Khanid", - "x": "121", - "y": "412", + "x": 169.39999999999998, + "y": 576.8, "security": 0.4707018411736416, "connectsTo": [ "Tash-Murkon", @@ -594,8 +594,8 @@ }, { "regionName": "Querious", - "x": "161", - "y": "468", + "x": 225.39999999999998, + "y": 655.1999999999999, "security": -0.30662408350814446, "connectsTo": [ "Khanid", @@ -605,8 +605,8 @@ }, { "regionName": "Cloud Ring", - "x": "144", - "y": "87", + "x": 201.6, + "y": 121.8, "security": -0.0743454982001546, "connectsTo": [ "Syndicate", @@ -620,8 +620,8 @@ }, { "regionName": "Kador", - "x": "191", - "y": "338", + "x": 267.4, + "y": 473.2, "security": 0.6126151510741249, "connectsTo": [ "Domain", @@ -632,8 +632,8 @@ }, { "regionName": "Cobalt Edge", - "x": "651", - "y": "60", + "x": 911.4, + "y": 84, "security": -0.5536523969632012, "connectsTo": [ "Oasa", @@ -643,8 +643,8 @@ }, { "regionName": "Aridia", - "x": "65", - "y": "347", + "x": 91, + "y": 485.79999999999995, "security": 0.24478602679259379, "connectsTo": [ "Genesis", @@ -657,8 +657,8 @@ }, { "regionName": "Branch", - "x": "313", - "y": "1", + "x": 438.2, + "y": 1.4, "security": -0.5066867665502245, "connectsTo": [ "Venal", @@ -668,8 +668,8 @@ }, { "regionName": "Feythabolis", - "x": "370", - "y": "565", + "x": 518, + "y": 791, "security": -0.4091841058376114, "connectsTo": [ "Impass", @@ -680,8 +680,8 @@ }, { "regionName": "Outer Ring", - "x": "48", - "y": "109", + "x": 67.19999999999999, + "y": 152.6, "security": -0.11103294363595742, "connectsTo": [ "Syndicate", @@ -691,8 +691,8 @@ }, { "regionName": "Fountain", - "x": "0", - "y": "219", + "x": 0, + "y": 306.59999999999997, "security": -0.29222405411119884, "connectsTo": [ "Outer Ring", @@ -703,8 +703,8 @@ }, { "regionName": "Paragon Soul", - "x": "191", - "y": "561", + "x": 267.4, + "y": 785.4, "security": -0.24369043436760165, "connectsTo": [ "Esoteria", @@ -713,8 +713,8 @@ }, { "regionName": "Delve", - "x": "42", - "y": "448", + "x": 58.8, + "y": 627.1999999999999, "security": -0.3946951739788309, "connectsTo": [ "Querious", @@ -725,8 +725,8 @@ }, { "regionName": "Tenerifis", - "x": "451", - "y": "496", + "x": 631.4, + "y": 694.4, "security": -0.36507054923117094, "connectsTo": [ "Immensea", @@ -739,8 +739,8 @@ }, { "regionName": "Omist", - "x": "441", - "y": "546", + "x": 617.4, + "y": 764.4, "security": -0.3901093373640807, "connectsTo": [ "Feythabolis", @@ -749,8 +749,8 @@ }, { "regionName": "Period Basis", - "x": "68", - "y": "528", + "x": 95.19999999999999, + "y": 739.1999999999999, "security": -0.42878320818367055, "connectsTo": [ "Delve", @@ -760,8 +760,8 @@ }, { "regionName": "Essence", - "x": "192", - "y": "192", + "x": 268.79999999999995, + "y": 268.79999999999995, "security": 0.5887139407756176, "connectsTo": [ "Sinq Laison", @@ -775,8 +775,8 @@ }, { "regionName": "Kor-Azor", - "x": "144", - "y": "370", + "x": 201.6, + "y": 518, "security": 0.5162395295666038, "connectsTo": [ "Domain", @@ -788,8 +788,8 @@ }, { "regionName": "Perrigen Falls", - "x": "554", - "y": "110", + "x": 775.5999999999999, + "y": 154, "security": -0.44654669681730774, "connectsTo": [ "Malpais", @@ -802,8 +802,8 @@ }, { "regionName": "Genesis", - "x": "134", - "y": "315", + "x": 187.6, + "y": 441, "security": 0.449996365784655, "connectsTo": [ "Kador", @@ -819,8 +819,8 @@ }, { "regionName": "Verge Vendor", - "x": "132", - "y": "226", + "x": 184.79999999999998, + "y": 316.4, "security": 0.6622543631310255, "connectsTo": [ "Essence", @@ -832,8 +832,8 @@ }, { "regionName": "Black Rise", - "x": "282", - "y": "160", + "x": 394.79999999999995, + "y": 224, "security": 0.3282094965606475, "connectsTo": [ "Lonetrek", @@ -845,14 +845,14 @@ }, { "regionName": "Pochven", - "x": "327", - "y": "292", + "x": 457.79999999999995, + "y": 408.79999999999995, "security": -1 }, { "regionName": "Yasna Zakh", - "x": "414", - "y": "327", + "x": 579.5999999999999, + "y": 457.79999999999995, "security": -1, "connectsTo": [ "Metropolis",