Created
December 20, 2022 13:15
Revisions
-
anka-213 created this gist
Dec 20, 2022 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ Comic.wayfinderFarDistance = 80000 Comic.wayfinderSpread = 300 Comic.wayfinderEls.forEach((x,i) => (x.innerText = i, x.style.color = 'red')) M = (v, min, max) => Math.min(Math.max(v,min),max) window.origUpdateWayfinder = window.origUpdateWayfinder || Comic.updateWayfinder Comic.updateWayfinder = Function("return function " + origUpdateWayfinder.toString().replace("+10*", "+this.wayfinderSpread*"))()