diff --git a/source/conf.py b/source/conf.py index 93ee760..e9760a8 100644 --- a/source/conf.py +++ b/source/conf.py @@ -62,7 +62,7 @@ master_doc = 'index' # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. -# Usually you set "language" from the command line for these cases. +# Usually you set "language" from the command_text line for these cases. language = None # List of patterns, relative to source directory, that match files and diff --git a/source/main.py b/source/main.py index c654103..2e4ceef 100644 --- a/source/main.py +++ b/source/main.py @@ -163,7 +163,6 @@ class Lsystem(ImageDraw.ImageDraw): recursions, color, width) - def __init__(self, *args, **kwargs): """Initialisation @@ -427,7 +426,7 @@ class Figures(ImageDraw.ImageDraw): for i in range(lenght_theoric + 1)] if finish[0] == origin[0]: - angle = pi/2 + angle = pi / 2 else: angle = atan((finish[1] - origin[1]) / (finish[0] - origin[0])) points = self.rotation(points, (0, 0), angle) @@ -486,7 +485,7 @@ class Figures(ImageDraw.ImageDraw): length = (((origin[0] - finish[0]) ** 2 + (origin[1] - finish[1]) ** 2) ** 0.5) / 3 if finish[0] == origin[0]: - angle = pi/2 + angle = pi / 2 else: angle = atan((finish[1] - origin[1]) / (finish[0] - origin[0])) angle_total = angle + pi / 3 diff --git a/test.bmp b/test.bmp index 0a28d57..c82a173 100644 Binary files a/test.bmp and b/test.bmp differ