From 0839a8e037ee2685597cd2ed7745b85770b1bb1b Mon Sep 17 00:00:00 2001 From: CBenni Date: Tue, 12 Dec 2017 02:27:25 +0100 Subject: [PATCH] removed obsolete variables --- index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/index.js b/index.js index 6e8499a..dd406ee 100644 --- a/index.js +++ b/index.js @@ -112,11 +112,6 @@ function render(template, img, size) { return(canvas); } -const circleScale = 0.4; -const lineWidthScale = 0.2; -const lowerRightFactor = 0.5 + 0.7071 * circleScale; // %-ual location of the lower right end of the strikethrough line -const upperLeftFactor = 0.5 - 0.7071 * circleScale; // %-ual location of the upper left end of the strikethrough line - app.get("/:templateName/", async function (req, res) { if(!templates[req.params.templateName]) return res.status(404).end(); try {