More inventing math progress

This commit is contained in:
Grant Sanderson
2015-08-03 22:23:00 -07:00
parent 6af2e9c6c2
commit 9cf8e7b75e
9 changed files with 290 additions and 15 deletions

View File

@ -21,6 +21,7 @@ DEFAULT_COUNT_RUN_TIME = 5.0
class Scene(object):
def __init__(self,
display_config = PRODUCTION_QUALITY_DISPLAY_CONFIG,
construct_args = [],
background = None,
start_dither_time = DEFAULT_DITHER_TIME):
self.display_config = display_config
@ -38,7 +39,7 @@ class Scene(object):
self.background = self.original_background
self.shape = self.background.shape[:2]
#TODO, space shape
self.construct()
self.construct(*construct_args)
def construct(self):
pass #To be implemented in subclasses