From 6ed0b1bc673118522cb124a7c01594d18828e60f Mon Sep 17 00:00:00 2001 From: Chris Proctor Date: Fri, 7 Jul 2023 18:02:28 -0400 Subject: [PATCH 1/2] Add typeface stub file --- typeface.py | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 typeface.py diff --git a/typeface.py b/typeface.py new file mode 100644 index 0000000..b966bef --- /dev/null +++ b/typeface.py @@ -0,0 +1,91 @@ +# 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 + +def draw_letter_a(unit): + pass + +def draw_letter_b(unit): + pass + +def draw_letter_c(unit): + pass + +def draw_letter_d(unit): + pass + +def draw_letter_e(unit): + pass + +def draw_letter_f(unit): + pass + +def draw_letter_g(unit): + pass + +def draw_letter_h(unit): + pass + +def draw_letter_i(unit): + pass + +def draw_letter_j(unit): + pass + +def draw_letter_k(unit): + pass + +def draw_letter_l(unit): + pass + +def draw_letter_m(unit): + pass + +def draw_letter_n(unit): + pass + +def draw_letter_o(unit): + pass + +def draw_letter_p(unit): + pass + +def draw_letter_q(unit): + pass + +def draw_letter_r(unit): + pass + +def draw_letter_s(unit): + pass + +def draw_letter_t(unit): + pass + +def draw_letter_u(unit): + pass + +def draw_letter_v(unit): + pass + +def draw_letter_w(unit): + pass + +def draw_letter_x(unit): + pass + +def draw_letter_y(unit): + pass + +def draw_letter_z(unit): + pass From 5434eafd5cf72eb9c7ce67c1d6c73dab0012cb16 Mon Sep 17 00:00:00 2001 From: Chris Proctor Date: Fri, 7 Jul 2023 18:05:48 -0400 Subject: [PATCH 2/2] Update pyproject --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 19a76e3..0c7c411 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,9 @@ [tool.poetry] -name = "problemset-drawing" +name = "problemset-typeface" version = "0.1.0" description = "" authors = ["Chris Proctor "] readme = "README.md" -packages = [{include = "problemset_drawing"}] [tool.poetry.dependencies] python = "^3.11"