Code Sketch
Harry Potter
By: Aditya Pant
Category: Art
3


0




cleari() setBackgroundH(Color(116, 0, 103), ColorMaker.hsl(240, 1.00, 0.78)) setAnimationDelay(0) val pic = Picture { setPosition(-300, -320) setFillColor(ColorMaker.hex(0xffcc9a)) setPenColor(black) setPenThickness(3) repeat(2) { forward(650) right(90) forward(500) right(90) } setPenThickness(8) setPenColor(ColorMaker.hsl(0, 0.00, 0.33)) savePosHe() hop(350) right(90) forward(75) right(90) circle(70) left(90) hop(50) right(90) setPenThickness(3) setPenColor(black) setFillColor(ColorMaker.hex(0x006600)) circle(20) left(90) hop(90) left(45) setPenThickness(8) setFillColor(noColor) setPenColor(ColorMaker.hsl(0, 0.00, 0.33)) setPenThickness(8) right(90, 49) right(45) circle(70) left(90) hop(50) right(90) setPenThickness(3) setPenColor(black) setFillColor(ColorMaker.hex(0x006600)) circle(20) left(90) hop(90) setPenThickness(8) setFillColor(noColor) setPenColor(ColorMaker.hsl(0, 0.00, 0.33)) setPenThickness(8) forward(75) restorePosHe() setPenColor(black) setPenThickness(3) setFillColor(ColorMaker.hex(0x700b19)) hop(175) right(90) forward(50) right(15, 700) left(15, 700) left(10, 500) right(100) forward(135) right(90) forward(500) right(90) forward(175) hop(-175) hop(450) right(45) setFillColor(black) left(30, 300) right(110) left(30, 450) forward(50) left(150) right(50, 100) right(140) left(45, 200) forward(55) left(90) forward(135) left(90) forward(500) left(90) forward(100) right(-90) hop(100) right(90) setFillColor(ColorMaker.hex(0xff9a66)) repeat(2) { forward(50) left(100) forward(30) right(120) forward(75) right(160) } right(90) hop(100) left(90) hop(550) left(90) hop(100) left(90) setFillColor(ColorMaker.hex(0xfebd01)) hop(173) back(173) right(90) forward(30) left(90) forward(170) left(83) left(2.2, 750) left(94.5) hop(173) left(90) hop(100) left(90) hop(159) forward(-159) right(90) forward(30) left(90) forward(152) left(75) left(3, 575) left(102) hop(159) right(-90) hop(100) left(90) hop(137) forward(-137) right(90) forward(30) left(90) forward(133) left(84) right(3, 600) right(-99) hop(137) left(90) hop(100) left(90) hop(127) forward(-127) right(90) forward(30) left(90) forward(129) left(91.5) right(3, 600) } pic.scale(0.6) drawCentered(pic)





Your Comment:





Login to post a comment