diff --git a/Webserver/src/routes/clock/+page.svelte b/Webserver/src/routes/clock/+page.svelte index 41bdd05..73e9e1c 100644 --- a/Webserver/src/routes/clock/+page.svelte +++ b/Webserver/src/routes/clock/+page.svelte @@ -32,17 +32,18 @@ //.System variables const clock: Clock = { - body: 50, + body: 48, hands: { - minute: 45, + minute: 40, hour: 25 }, time: { minute: 0, hour: 0 }, - speed: 4 + speed: 0.4 }; + // Constant system values const TWO_PI = 2 * Math.PI; const HALF_PI = Math.PI / 2; @@ -93,7 +94,7 @@ x1="50" y1="50" x2={clock.positions?.minute.x ?? 50} - y2={clock.positions?.minute.y ?? 0} + y2={clock.positions?.minute.y ?? 50} stroke-width="1" /> @@ -102,7 +103,7 @@ x1="50" y1="50" x2={clock.positions?.hour.x ?? 50} - y2={clock.positions?.hour.y ?? 0} + y2={clock.positions?.hour.y ?? 50} stroke-width="2" />