Mapa mental
Python Arcade Drawing

Conteúdo do mapa
Python Arcade Drawing
Colours
- green - colour of tree leaves and grass
- brown - tree trunk will be brown
- yellow - the catepillar will be yellow to resemble real life
- orange - the butterfly will be orange
Code Snippets
- creating window: arcade.open_window(600,600,"Gradient", resizable=True)
- gradient background: arcade.draw_lrbt_rectangle_filled(0,599,0,600, (25,109,133)) arcade.draw_lrbt_rectangle_filled(0,599,0,500, (25,109,133)) arcade.draw_lrbt_rectangle_filled(0,599,0,400, (51,139,163)) arcade.draw_lrbt_rectangle_filled(0,599,0,300, (65,169,76)) arcade.draw_lrbt_rectangle_filled(0,599,0,200, (65,169,76)) arcade.draw_lrbt_rectangle_filled(0,599,0,100, (65,169,76))
- coding the tree
- tree trunk: arcade.draw_rectangle_filled(90,110,330,270, arcade.csscolor.SIENNA)
- tree crown:#Draw a treetop for main tree center_x = 250 center_y = 350 radius = 50 color = arcade.color.APPLE_GREEN arcade.draw_circle_filled(center_x, center_y, radius, color) #Draw an outline for treetop circles arcade.draw_circle_outline(center_x, center_y, radius, color, border_width)
- coding the butterfly
- butterfly body:#Make the oval shape of the butterfly's body arcade.draw_ellipse_filled( 900 / 2, # X-coordinate of the center 500 / 2, # Y-coordinate of the center 10, # Width of the ellipse 70, # Height of the ellipse (75, 55, 20) # RGB color tuple (brownish) )
- butterfly wings: # top left wing arcade.draw_arc_filled(448, 265, 60, 40, arcade.color.BLACK, 85, 270) # bottom left wing arcade.draw_arc_filled(448, 235, 40, 30, arcade.color.BLACK, 90, 275) # top right wing arcade.draw_arc_filled(452, 265, 60, 40, arcade.color.BLACK, 90, 275, 180) # bottom right wing arcade.draw_arc_filled(452, 235, 40, 30, arcade.color.BLACK, 89, 275, 180)
- caterpillar: arcade.draw_circle_filled(216, 265, 13, arcade.color.KELLY_GREEN) # head arcade.draw_circle_filled(217, 245, 10, arcade.color.LIME_GREEN) arcade.draw_circle_filled(217, 230, 10, arcade.color.KELLY_GREEN) arcade.draw_circle_filled(217, 215, 10, arcade.color.LIME_GREEN) arcade.draw_circle_filled(217, 200, 10, arcade.color.KELLY_GREEN) arcade.draw_circle_filled(217, 185, 10, arcade.color.LIME_GREEN) arcade.draw_circle_filled(212, 170, 10, arcade.color.KELLY_GREEN) arcade.draw_circle_filled(204, 157, 10, arcade.color.LIME_GREEN) arcade.draw_circle_filled(223, 271, 4, arcade.color.WHITE) # right eye arcade.draw_circle_filled(215, 267, 4, arcade.color.WHITE) # left eye arcade.draw_circle_filled(224, 270, 3, arcade.color.BLACK) # right pupil arcade.draw_circle_filled(216, 266, 3, arcade.color.BLACK) # left pupil arcade.draw_circle_filled(224, 270, 1, arcade.color.WHITE) # highlight arcade.draw_circle_filled(216, 266, 1, arcade.draw_line(215, 277, 2
- coding the tree
- gradient background: arcade.draw_lrbt_rectangle_filled(0,599,0,600, (25,109,133)) arcade.draw_lrbt_rectangle_filled(0,599,0,500, (25,109,133)) arcade.draw_lrbt_rectangle_filled(0,599,0,400, (51,139,163)) arcade.draw_lrbt_rectangle_filled(0,599,0,300, (65,169,76)) arcade.draw_lrbt_rectangle_filled(0,599,0,200, (65,169,76)) arcade.draw_lrbt_rectangle_filled(0,599,0,100, (65,169,76))
- creating window: arcade.open_window(600,600,"Gradient", resizable=True)
Shapes
- circles - an array of circles will be incorporated in order to visualise the shape of a catepillar
- rectangle - this will be the tree trunk, which will be of a brown colour to align with real life visuals.
- Triangles - these will be used to portray the wings of the butterfly
- oval - the body of the butterfly will be made using an oval, as will the cocoon
Self-determined criteria
- Has the prescribed criteria been met?
- Does my picture focus on a central theme - either Journey or Aboriginal Astronomy
- Does my picture consist of multiple shapes and colours which allow the picture to come to life?
- Has the prescribed criteria been met?
About the picture
- The picture is centered around the theme 'Journey'. A catepillar will be looking at a cocoon, thinking about its journey towards that
- Shapes such as circles and triangles will be used to bring realism to the drawing, and make it not only visually appealing, but also convey a message about journey
Inspiration
Prescribed Criteria
- Define and use a custom function to draw an element of your picture
- Use multiple colours to enhance visual appeal
- Clearly reflect the selected theme (Journey of Aboriginal Astronomy)
Imagens e arquivos do mapa
Informações
- Descrição
- Mapa Mental sobre Python Arcade Drawing, criado por Manahil Shahzad em 28-08-2025.
- Criado por
- Manahil Shahzad
- Visualizações
- 1
- Avaliação