From fea99295c9ca99d3f3abd41b9bfaac91f4bda6dd Mon Sep 17 00:00:00 2001 From: Raymond Hogenson Date: Tue, 27 Sep 2016 22:58:31 -0400 Subject: Split files and finish render code Although it is unlikely that this code will actually run, it is split up rather nicely such that it should be maintainable into the future. Right now only one fish is supported, and it moves at some fixed rate across the bridge. This is fine for a demo, but the rendering process will need to be changed significantly before the end. --- constants.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 constants.py (limited to 'constants.py') diff --git a/constants.py b/constants.py new file mode 100644 index 0000000..162b3be --- /dev/null +++ b/constants.py @@ -0,0 +1,10 @@ +"""Constants that may be tweaked in the future.""" +from __future__ import division, unicode_literals + +FRAME_RATE = 44 +MIN_VALUE = 0 +MAX_VALUE = 1 +MAX_TIME = 4 +MIN_TIME = 0.3 +MAX_HUE = 169 / 360 +MIN_HUE = 250 / 360 -- cgit v1.3.1