From 2afc4e191af82b4fc7bcd5015bad05fddedc673a Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Thu, 21 Jan 2021 21:11:53 +0100 Subject: [PATCH] Bigger digits for Emergo and Avalam --- .../images/pieces/Avalam/generateSVG.py | 16 +++--- .../pieces/Emergo/generateSVG_composite.py | 52 +++++++++---------- .../pieces/Emergo/generateSVG_simple.py | 26 +++++----- 3 files changed, 47 insertions(+), 47 deletions(-) diff --git a/client/public/images/pieces/Avalam/generateSVG.py b/client/public/images/pieces/Avalam/generateSVG.py index d400d79b..8d526787 100755 --- a/client/public/images/pieces/Avalam/generateSVG.py +++ b/client/public/images/pieces/Avalam/generateSVG.py @@ -8,20 +8,20 @@ preamble = """ """ -black = '' -white = '' +black = '' +white = '' digits = [ # 1 - '') + f.write(digits[number] + ' fill="none" stroke-width="5" ' + ('stroke="red"' if color == "white" else 'stroke="yellow"') + '/>') f.write("\n") f.write(final) f.close() diff --git a/client/public/images/pieces/Emergo/generateSVG_composite.py b/client/public/images/pieces/Emergo/generateSVG_composite.py index 915404b6..aaae1898 100755 --- a/client/public/images/pieces/Emergo/generateSVG_composite.py +++ b/client/public/images/pieces/Emergo/generateSVG_composite.py @@ -22,55 +22,55 @@ black_right = '' digits = { "left": [ # 1 - '') + f.write(digits["left"][left] + ' fill="none" stroke-width="5" ' + ('stroke="red"' if colorLeft == "white" else 'stroke="orange"') + '/>') f.write("\n") - f.write(digits["right"][right] + ' fill="none" stroke-width="4" ' + ('stroke="red"' if colorLeft == "black" else 'stroke="orange"') + '/>') + f.write(digits["right"][right] + ' fill="none" stroke-width="5" ' + ('stroke="red"' if colorLeft == "black" else 'stroke="orange"') + '/>') f.write("\n") f.write(final) f.close() diff --git a/client/public/images/pieces/Emergo/generateSVG_simple.py b/client/public/images/pieces/Emergo/generateSVG_simple.py index 64533624..301c2796 100755 --- a/client/public/images/pieces/Emergo/generateSVG_simple.py +++ b/client/public/images/pieces/Emergo/generateSVG_simple.py @@ -13,29 +13,29 @@ white = '' digits = [ # 1 - '') + f.write(digits[number] + ' fill="none" stroke-width="5" ' + ('stroke="red"' if color == "white" else 'stroke="orange"') + '/>') f.write("\n") f.write(final) f.close() -- 2.44.0