fix proportions bug

This commit is contained in:
glazenbol
2026-03-26 03:06:44 +01:00
parent c138a616d0
commit 783286cedf
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -6,15 +6,15 @@ const socket = io("http://localhost:3000");
const gui = new GUI();
const params = {
fps: 60,
zoom: 0.01,
zoom: 1,
backgroundTicks: 60,
textSpread: 0,
maxSpawns: 1,
textAlpha: 0.0,
textTicks: 1
textTicks: 1,
};
gui.add(params, "fps", 0.1, 60);
gui.add(params, "zoom", 0.001, 0.5);
gui.add(params, "zoom", 1, 20);
gui.add(params, "backgroundTicks", 1, 600).step(1);
const textFolder = gui.addFolder("Text");
textFolder.add(params, "textSpread", 0, 200);
@@ -24,4 +24,4 @@ textFolder.add(params, "textTicks", 1, 600).step(1);
gui.onChange((e) => {
socket.emit("paramUpdate", { key: e.property, value: e.value });
});
});