Drawing Polygons - University College London · 2018-07-26 · smallest number to complete your...

Post on 05-Apr-2020

2 views 0 download

transcript

DrawingPolygons

BEETLEGEOMETRYMODULE2:INVESTIGATION2

MODULE2:INVESTIGATION2Ac@vity2.2.1–DrawingPolygons

ACTIVITY2.2.1

DrawingPolygons

Openproject2-DrawingPolygons,saveasacopyandrename.

Runthesetupscript.

Snaptogetheronemoveblockandoneturnblock,settoanyvaluesandclicktheshortscriptseveral<mes(withoutusingrepeat).

MODULE2:INVESTIGATION2Ac@vity2.2.1–DrawingPolygons

Addtherepeatblockaroundyourscriptandsetittothesmallestnumbertocompleteyourpolygoninoneclick.Createascripttodrawasquare.Createascripttodrawatriangle.

MODULE2:INVESTIGATION2Ac@vity2.2.1–DrawingPolygons

DiscussionQues@onsu Howdidyouworkouthowtodrawyoursquareortriangle?

u Howmanysidesdidyourotherpolygonshave?Whatpolygonsdidyoudraw?

u HowmanydegreesdidtheBeetleturnintotaltomakeitaclosedshape?HowmanystepsdidtheBeetlemoveintotal?

u Whatisthelinkbetweenthemoveandrepeatblocksinyourpolygonscripts?

u Didyoumanagetodrawanequilateraltriangle?Howdidyoubuildyourscripttoensureitwasequilateral?

MODULE2:INVESTIGATION2Ac@vity2.2.1–DrawingPolygons

ACTIVITY2.2.2:UNPLUGGED

PolygonScripts

MODULE2:INVESTIGATION2Ac@vity2.2.2–Unplugged:PolygonScripts

Matchthescriptwiththepolygonthatitwoulddrawwhenyouclickonit.

MODULE2:INVESTIGATION2Ac@vity2.2.2–Unplugged:PolygonScripts

1 2 3 4

Matchthescriptwiththepolygonthatitwoulddrawwhenyouclickonit.

MODULE2:INVESTIGATION2Ac@vity2.2.2–Unplugged:PolygonScripts

1 2 3 4

Fillinthegapsinthetextbelowtoshowhowyouworkedouttheanswer.

MODULE2:INVESTIGATION2Ac@vity2.2.2–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

Fillinthegapsinthetextbelowtoshowhowyouworkedouttheanswer.

MODULE2:INVESTIGATION2Ac@vity2.2.2–Unplugged:PolygonScripts

Thisiscorrectpolygonbecause:

§  ithas_____equalsidesand_____equalangles§  theblocksintherepeatarerun_____<mes§  themoveblockis_____steps§  theBeetlealwaysturnsrightby_____degrees

Thisiscorrectpolygonbecause:

§  ithas_____equalsidesand_____equalangles§  theblocksintherepeatarerun_____<mes§  themoveblockis_____steps§  theBeetlealwaysturnsrightby_____degrees

MODULE2:INVESTIGATION2Ac@vity2.2.3–UsingandDefiningMoreBlocks

ACTIVITY2.2.3

UsingandDefiningMoreBlocks

Con<nuein2-DrawingPolygons,saveasacopyandrename.

GototheMoreBlocksgroupandfindthenewblocksthatarethere.

Experimentwiththesenewblocksbyaddingthemtothetopofyoursquarescriptorinsidethescript.

MODULE2:INVESTIGATION2Ac@vity2.2.3–UsingandDefiningMoreBlocks

DragtheBeetlearoundthestagetodrawsquareswithdifferentcolouredandsizedlines.

MODULE2:INVESTIGATION2Ac@vity2.2.3–UsingandDefiningMoreBlocks

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

Dragthehatblock(3)andputitasahatontopofthescriptfordrawingasquare(4).

MODULE2:INVESTIGATION2Ac@vity2.2.3–UsingandDefiningMoreBlocks

DiscussionQues@ons

u Whatisthedifferencebetweenpencolourandpenshade?

u Wheredidyoutryplacingthesetrandompenblocksinyourscript–howdidthischangeyourdrawing?

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

u Whyisitimportanttogiveanewblockameaningfulname?

MODULE2:INVESTIGATION2Ac@vity2.2.3–UsingandDefiningMoreBlocks

ACTIVITY2.2.4

CombiningNewBlocks

MODULE2:INVESTIGATION2Ac@vity2.2.4–CombiningNewBlocks

Con<nuein2-DrawingPolygons,saveasacopyandrename.

Buildascript,usingyoursquareblock,todrawatoweroftwosquares.

MODULE2:INVESTIGATION2Ac@vity2.2.4–CombiningNewBlocks

Makeanothernewblocktrianglewithsidesthatarethesamelengthasyoursquare.

MODULE2:INVESTIGATION2Ac@vity2.2.4–CombiningNewBlocks

Combineyoursquareandtriangleblocksinonescripttodrawahouse.

MODULE2:INVESTIGATION2Ac@vity2.2.4–CombiningNewBlocks

[Extension]Trybuildingscriptstodrawsomeoftheexamplepicturesbelowusingjustthesquareblock.

MODULE2:INVESTIGATION2Ac@vity2.2.4–[Extension]CombiningNewBlocks

DiscussionQues@onsu Whatproblemsdidyouencounterwhenbuildingascriptfor

drawingatoweroftwosquaresandhowdidyousolvethese?

u Howdidyouuseyournewblockstocreateahouse?

u Diddefininganewblockforsquareandtrianglemakeiteasiertodrawthehouse?How?

u Whatproblemsdidyouencounterwhendrawingyourhouse?

u Howdidyoudiscovertheanglethatyouneedtoturnbyinordertodrawtheroofonyourhousecorrectly?

MODULE2:INVESTIGATION2Ac@vity2.2.4–CombiningNewBlocks

MyInves@ga@on2checklist:

Ibuiltascripttodrawasquare.

Ibuiltascripttodrawanequilateraltriangle.

Ienvisagedwhatpolygonsdifferentscriptswoulddraw.

Iusedpre-definedblockswithinmysquarescripttodrawsquareswithsidesofrandomwidthsandcolours.

Idefinedmyownsquareandtriangleblocks.

Iusedmysquareblocktodrawatower.

Iusedmysquareandtriangleblockstodrawahouse.

MODULE2:INVESTIGATION2