From ca0e2dd64f54f4f332490f2519caa8d1a40c87e0 Mon Sep 17 00:00:00 2001 From: Robin Steinberg Date: Thu, 26 Aug 2021 19:38:49 +0200 Subject: [PATCH] Refactored drawing logic into separate class --- index.html | 2 +- ts/app.ts | 92 +++++++++-------------------------- ts/canvas-util/canvasUtil.ts | 77 +++++++++++++++++++++++++++++ ts/canvas-util/coordinates.ts | 9 ++++ 4 files changed, 111 insertions(+), 69 deletions(-) create mode 100644 ts/canvas-util/canvasUtil.ts create mode 100644 ts/canvas-util/coordinates.ts diff --git a/index.html b/index.html index 16ecb72..c41c2cb 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@