drawing polygons - university college london · 2018-07-26 · smallest number to complete your...

22
Drawing Polygons BEETLE GEOMETRY MODULE 2: INVESTIGATION 2

Upload: others

Post on 05-Apr-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

DrawingPolygons

BEETLEGEOMETRYMODULE2:INVESTIGATION2

Page 2: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

MODULE2:[email protected]–DrawingPolygons

ACTIVITY2.2.1

DrawingPolygons

Page 3: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

Openproject2-DrawingPolygons,saveasacopyandrename.

Runthesetupscript.

Snaptogetheronemoveblockandoneturnblock,settoanyvaluesandclicktheshortscriptseveral<mes(withoutusingrepeat).

MODULE2:[email protected]–DrawingPolygons

Page 4: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

Addtherepeatblockaroundyourscriptandsetittothesmallestnumbertocompleteyourpolygoninoneclick.Createascripttodrawasquare.Createascripttodrawatriangle.

MODULE2:[email protected]–DrawingPolygons

Page 5: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

DiscussionQues@onsu Howdidyouworkouthowtodrawyoursquareortriangle?

u Howmanysidesdidyourotherpolygonshave?Whatpolygonsdidyoudraw?

u HowmanydegreesdidtheBeetleturnintotaltomakeitaclosedshape?HowmanystepsdidtheBeetlemoveintotal?

u Whatisthelinkbetweenthemoveandrepeatblocksinyourpolygonscripts?

u Didyoumanagetodrawanequilateraltriangle?Howdidyoubuildyourscripttoensureitwasequilateral?

MODULE2:[email protected]–DrawingPolygons

Page 6: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

ACTIVITY2.2.2:UNPLUGGED

PolygonScripts

MODULE2:[email protected]–Unplugged:PolygonScripts

Page 7: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

Matchthescriptwiththepolygonthatitwoulddrawwhenyouclickonit.

MODULE2:[email protected]–Unplugged:PolygonScripts

1 2 3 4

Page 8: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

Matchthescriptwiththepolygonthatitwoulddrawwhenyouclickonit.

MODULE2:[email protected]–Unplugged:PolygonScripts

1 2 3 4

Page 9: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

Fillinthegapsinthetextbelowtoshowhowyouworkedouttheanswer.

MODULE2:[email protected]–Unplugged:PolygonScripts

Thisisthecorrectpolygonbecause:

§  ithas____equalsidesand_____rightangles§  theblocksintherepeatarerun_____<mes§  themoveblockis_____steps§  theBeetlealwaysturnsrightby_____degrees

Thisiscorrectpolygonbecause:

§  ithas_____pairsofequalsidesoppositeeachother,ashorterpairandalongerpair

§  ithas_____rightangles§  theblocksintherepeatarerun_____<mes§  thereare_____moveblocksintherepeat§  thereare_____turnblocksintherepeatandtheBeetlealwaysturnsrightby_____degrees

Page 10: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

Fillinthegapsinthetextbelowtoshowhowyouworkedouttheanswer.

MODULE2:[email protected]–Unplugged:PolygonScripts

Thisiscorrectpolygonbecause:

§  ithas_____equalsidesand_____equalangles§  theblocksintherepeatarerun_____<mes§  themoveblockis_____steps§  theBeetlealwaysturnsrightby_____degrees

Thisiscorrectpolygonbecause:

§  ithas_____equalsidesand_____equalangles§  theblocksintherepeatarerun_____<mes§  themoveblockis_____steps§  theBeetlealwaysturnsrightby_____degrees

Page 11: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

MODULE2:[email protected]–UsingandDefiningMoreBlocks

ACTIVITY2.2.3

UsingandDefiningMoreBlocks

Page 12: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

Con<nuein2-DrawingPolygons,saveasacopyandrename.

GototheMoreBlocksgroupandfindthenewblocksthatarethere.

Experimentwiththesenewblocksbyaddingthemtothetopofyoursquarescriptorinsidethescript.

MODULE2:[email protected]–UsingandDefiningMoreBlocks

Page 13: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

DragtheBeetlearoundthestagetodrawsquareswithdifferentcolouredandsizedlines.

MODULE2:[email protected]–UsingandDefiningMoreBlocks

Page 14: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

Makeanewblock(1)andgiveyourblockameaningfulnamee.g.square(2).

Dragthehatblock(3)andputitasahatontopofthescriptfordrawingasquare(4).

MODULE2:[email protected]–UsingandDefiningMoreBlocks

Page 15: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

DiscussionQues@ons

u Whatisthedifferencebetweenpencolourandpenshade?

u Wheredidyoutryplacingthesetrandompenblocksinyourscript–howdidthischangeyourdrawing?

u Whywoulditbeagoodideatodefineanewblockforascriptyouusemany<mesinyourproject(e.g.drawingasquare)?

u Whyisitimportanttogiveanewblockameaningfulname?

MODULE2:[email protected]–UsingandDefiningMoreBlocks

Page 16: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

ACTIVITY2.2.4

CombiningNewBlocks

MODULE2:[email protected]–CombiningNewBlocks

Page 17: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

Con<nuein2-DrawingPolygons,saveasacopyandrename.

Buildascript,usingyoursquareblock,todrawatoweroftwosquares.

MODULE2:[email protected]–CombiningNewBlocks

Page 18: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

Makeanothernewblocktrianglewithsidesthatarethesamelengthasyoursquare.

MODULE2:[email protected]–CombiningNewBlocks

Page 19: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

Combineyoursquareandtriangleblocksinonescripttodrawahouse.

MODULE2:[email protected]–CombiningNewBlocks

Page 20: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

[Extension]Trybuildingscriptstodrawsomeoftheexamplepicturesbelowusingjustthesquareblock.

MODULE2:[email protected]–[Extension]CombiningNewBlocks

Page 21: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

DiscussionQues@onsu Whatproblemsdidyouencounterwhenbuildingascriptfor

drawingatoweroftwosquaresandhowdidyousolvethese?

u Howdidyouuseyournewblockstocreateahouse?

u Diddefininganewblockforsquareandtrianglemakeiteasiertodrawthehouse?How?

u Whatproblemsdidyouencounterwhendrawingyourhouse?

u Howdidyoudiscovertheanglethatyouneedtoturnbyinordertodrawtheroofonyourhousecorrectly?

MODULE2:[email protected]–CombiningNewBlocks

Page 22: Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your polygon in one click. Create a script to draw a square. Create a script to draw a triangle

MyInves@ga@on2checklist:

Ibuiltascripttodrawasquare.

Ibuiltascripttodrawanequilateraltriangle.

Ienvisagedwhatpolygonsdifferentscriptswoulddraw.

Iusedpre-definedblockswithinmysquarescripttodrawsquareswithsidesofrandomwidthsandcolours.

Idefinedmyownsquareandtriangleblocks.

Iusedmysquareblocktodrawatower.

Iusedmysquareandtriangleblockstodrawahouse.

MODULE2:INVESTIGATION2