From 63a499f53eab89768b80bfe35361beeba23ff5af Mon Sep 17 00:00:00 2001 From: "Freena S. Koikoi" Date: Fri, 8 Dec 2023 16:32:40 +0000 Subject: [PATCH] Pretty Pictures --- Sheet3_challenge2.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Sheet3_challenge2.py diff --git a/Sheet3_challenge2.py b/Sheet3_challenge2.py new file mode 100644 index 0000000..7dff8c1 --- /dev/null +++ b/Sheet3_challenge2.py @@ -0,0 +1,20 @@ +from gasp import * +begin_graphics() + + +Circle((300, 200), 100) +Circle((240, 240), 15) +Circle((360, 240), 15) +Line((500, 300), (400,220)) +Line((380, 260), (330,260)) +Line((270, 260), (220,260)) +Line((300, 260), (270, 200)) +Line((300, 260), (340, 200)) +Line((340, 200), (270, 200)) +Arc((300, 190), 40, 225, 315) +Arc((420, 220), 30, 235, 510) +Arc((200, 220), 30, 60, 630) + + +update_when('key_passed') +end_graphics()