diff options
| -rw-r--r-- | How-to/Python/Envelope (mathematics) generator/index.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/How-to/Python/Envelope (mathematics) generator/index.md b/How-to/Python/Envelope (mathematics) generator/index.md index 3b29dcf..79e92de 100644 --- a/How-to/Python/Envelope (mathematics) generator/index.md +++ b/How-to/Python/Envelope (mathematics) generator/index.md @@ -17,12 +17,12 @@ from PIL import Image, ImageDraw # https://en.wikipedia.org/wiki/Envelope_%28mathematics%29 -dim = 200 # Image dimmensions (pixels) +dim = 200 # Image dimensions (pixels) skip = 10 # Only draw a line every X pixels width = 1 # Line width color = "white" -with Image.new(mode = "RGB", size = (dim, dim)) as im: +with Image.new(mode = "RGB", size = (dim, dim)) as im: # mode="RGBA" for transparent background draw = ImageDraw.Draw(im) for i in range(dim): |
