From 9058ee8e24f9f4e75e9258484d7f57e372892833 Mon Sep 17 00:00:00 2001 From: Robin Steinberg Date: Thu, 26 Aug 2021 19:50:23 +0200 Subject: [PATCH] Refactored to use canvasUtility --- index.html | 2 +- ts/app.ts | 63 ++++++++-------------------- ts/canvas-util/canvasUtil.ts | 77 +++++++++++++++++++++++++++++++++++ ts/canvas-util/coordinates.ts | 9 ++++ 4 files changed, 105 insertions(+), 46 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 6de771c..28e511a 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@