From 55a307cc816add31907810ee86fc15b62a71281a Mon Sep 17 00:00:00 2001 From: maCucyrt07 <46973482+maCucyrt07@users.noreply.github.com> Date: Tue, 29 Jan 2019 14:18:37 -0500 Subject: [PATCH 1/2] Updated from Brython Server: 1/29/2019 2:18:36 PM --- picture.py | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/picture.py b/picture.py index 6e2a3e23..5c83207f 100644 --- a/picture.py +++ b/picture.py @@ -1,7 +1,7 @@ """ picture.py -Author: -Credit: +Author: Macy Curtis +Credit: Kyle, Mr. Dennison Assignment: @@ -32,5 +32,26 @@ # add your code here /\ /\ /\ +yellow = Color(0xFCF4A3, 1.0) +black = Color(0x000000, 1.0) +red = Color(0xDFF2800, 1.0) +thinline = LineStyle(1, black) +rectangle = RectangleAsset(100, 50, thinline, black) +rectangle2 = RectangleAsset(150,150, thinline, yellow) +Sprite(rectangle, (600,300)) +circle = CircleAsset (150, thinline, red) +circle2 = CircleAsset (100, thinline, yellow) +Sprite(circle, (20, 20)) +ellipse = EllipseAsset(75,50, thinline, yellow) +Sprite(ellipse) +polygon = PolygonAsset([(100,200),(250,300),(150,600),(700,300)], thinline, red) +polygon2 = PolygonAsset([(25, 50), (75, 100), (125, 100), (175, 150)], thinline, black) +Sprite(polygon, (100,100)) +Sprite(circle, (200,400)) +Sprite(rectangle, (800, 300)) +Sprite(circle2, (250,200)) +Sprite(rectangle2, (500, 350)) +Sprite(ellipse, (900, 600)) +Sprite(polygon2, (800,400)) myapp = App() -myapp.run() +myapp.run() \ No newline at end of file From 8ceaf82fc846fb480e7234726aa7144faa0f24d9 Mon Sep 17 00:00:00 2001 From: maCucyrt07 <46973482+maCucyrt07@users.noreply.github.com> Date: Tue, 29 Jan 2019 14:21:44 -0500 Subject: [PATCH 2/2] Updated from Brython Server: 1/29/2019 2:21:43 PM --- picture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picture.py b/picture.py index 5c83207f..fdb858ec 100644 --- a/picture.py +++ b/picture.py @@ -1,6 +1,6 @@ """ picture.py -Author: Macy Curtis +Author: maCucyrt07 Credit: Kyle, Mr. Dennison Assignment: