Update pyproject and merge typeface

This commit is contained in:
Chris Proctor 2023-07-07 18:07:18 -04:00
commit cc3c4f2846
2 changed files with 11 additions and 2 deletions

View File

@ -1,10 +1,9 @@
[tool.poetry]
name = "problemset-drawing"
name = "problemset-typeface"
version = "0.1.0"
description = ""
authors = ["Chris Proctor <chris@chrisproctor.net>"]
readme = "README.md"
packages = [{include = "problemset_drawing"}]
[tool.poetry.dependencies]
python = "^3.11"

View File

@ -1,3 +1,13 @@
# typeface.py
# By Chris Proctor and _________
# Contains one function for each letter in the English alphabet.
# Each function should draw its letter at a scale of `unit`, and then
# return back to the same position and heading where it started.
# Note: The `sqrt` function from math may be helpful--if you want to
# move the turtle along the diagonal of a square with side length x,
# the turtle should move a distance of sqrt(x)
from turtle import *
from math import sqrt