Compare commits

..

2 commits

Author SHA1 Message Date
rlx
e8995ea46c Merge branch 'master' of git.0x2620.org:0x2620/pandora_erg 2019-11-19 18:06:21 +01:00
rlx
d13b9f710b fix poster hue 2019-11-19 18:04:44 +01:00

View file

@ -53,7 +53,7 @@ def render_poster(data, poster):
font_size_small = 32
font_size_large = 48
font_file = os.path.join(static_root, 'MontserratBold.ttf')
hue = int(year) % 100 * 360
hue = int(year) % 100 * 3.6
image_color = getRGB([hue, 1, 0.2])
background_color = getRGB([hue, 1, 0.4])
foreground_color = getRGB([hue, 1, 0.8])