From 92e8be1b1ff66835d31b546183934e6189404f38 Mon Sep 17 00:00:00 2001 From: Shraddha <ShraddhaRaghuram@student.tudelft.nl> Date: Fri, 27 Sep 2024 17:33:44 +0200 Subject: [PATCH] branches --- static/homepage.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/static/homepage.js b/static/homepage.js index 39f91aa..8d515d0 100644 --- a/static/homepage.js +++ b/static/homepage.js @@ -251,18 +251,18 @@ function draw(){ var centerX = canvas.width / 2; verticalLine(centerX, 200, 3000, ctx, canvas_h); - // circularArc(centerX - 30, 1600, ctx, canvas_h, 3, 0); + circularArc(centerX - 30, 600, ctx, canvas_h, 3, 0); - // horizontalLine(centerX - 30, centerX - 400, 1630, ctx, canvas_h, 2, 0); + horizontalLine(centerX - 30, centerX - 400, 630, ctx, canvas_h, 2, 0); - // circularArc(centerX + 30, 2400, ctx, canvas_h, 1, 1); - // horizontalLine(centerX + 30, centerX + 400, 2430, ctx, canvas_h, 1, 1); + circularArc(centerX + 30, 1200, ctx, canvas_h, 1, 1); + horizontalLine(centerX + 30, centerX + 400, 1230, ctx, canvas_h, 1, 1); - // circularArc(centerX - 30, 3200, ctx, canvas_h, 3, 2); - // horizontalLine(centerX - 30, centerX - 400, 3230, ctx, canvas_h, 2, 2); + circularArc(centerX - 30, 1800, ctx, canvas_h, 3, 2); + horizontalLine(centerX - 30, centerX - 400, 1830, ctx, canvas_h, 2, 2); - // circularArc(centerX + 30, 4000, ctx, canvas_h, 1, 3); - // horizontalLine(centerX + 30, centerX + 400, 4030, ctx, canvas_h, 1, 3); + circularArc(centerX + 30, 2400, ctx, canvas_h, 1, 3); + horizontalLine(centerX + 30, centerX + 400, 2430, ctx, canvas_h, 1, 3); ctx.stroke() canvas.style.backgroundColor="transparent"; -- GitLab