Drawing Polygons

BEETLEGEOMETRY
MODULE2:INVESTIGATION2
DrawingPolygons
MODULE2:INVESTIGATION2
[email protected]–DrawingPolygons
ACTIVITY2.2.1
DrawingPolygons
MODULE2:INVESTIGATION2
[email protected]–DrawingPolygons
Openproject2-DrawingPolygons,saveasacopy
andrename.
Runthesetupscript.
Snaptogetheronemoveblockandoneturnblock,settoany
valuesandclicktheshortscriptseveral<mes(withoutusing
repeat).
MODULE2:INVESTIGATION2
[email protected]–DrawingPolygons
Addtherepeatblockaroundyourscriptandsetittothe
smallestnumbertocompleteyourpolygoninoneclick.
Createascripttodrawasquare.
Createascripttodrawatriangle.
MODULE2:INVESTIGATION2
[email protected]–DrawingPolygons
DiscussionQues@ons
u  Howdidyouworkouthowtodrawyoursquareortriangle?
u  Howmanysidesdidyourotherpolygonshave?Whatpolygons
didyoudraw?
u  HowmanydegreesdidtheBeetleturnintotaltomakeita
closedshape?HowmanystepsdidtheBeetlemoveintotal?
u  Whatisthelinkbetweenthemoveandrepeatblocksinyour
polygonscripts?
u  Didyoumanagetodrawanequilateraltriangle?Howdidyou
buildyourscripttoensureitwasequilateral?
MODULE2:INVESTIGATION2
[email protected]–Unplugged:PolygonScripts
ACTIVITY2.2.2:UNPLUGGED
PolygonScripts
MODULE2:INVESTIGATION2
[email protected]–Unplugged:PolygonScripts
1
Matchthescriptwiththepolygonthatitwoulddrawwhen
youclickonit.
4
2
3
MODULE2:INVESTIGATION2
[email protected]–Unplugged:PolygonScripts
1
Matchthescriptwiththepolygonthatitwoulddrawwhen
youclickonit.
4
2
3
MODULE2:INVESTIGATION2
[email protected]–Unplugged:PolygonScripts
Fillinthegapsinthetextbelowtoshowhowyouworked
outtheanswer.
Thisisthecorrectpolygonbecause:
§  ithas____equalsidesand_____rightangles
§  theblocksintherepeatarerun_____<mes
§  themoveblockis_____steps
§  theBeetlealwaysturnsrightby_____degrees
Thisiscorrectpolygonbecause:
§  ithas_____pairsofequalsidesoppositeeachother,ashorterpair
andalongerpair
§  ithas_____rightangles
§  theblocksintherepeatarerun_____<mes
§  thereare_____moveblocksintherepeat
§  thereare_____turnblocksintherepeatandtheBeetlealways
turnsrightby_____degrees
MODULE2:INVESTIGATION2
[email protected]–Unplugged:PolygonScripts
Fillinthegapsinthetextbelowtoshowhowyouworked
outtheanswer.
Thisiscorrectpolygonbecause:
§  ithas_____equalsidesand_____equalangles
§  theblocksintherepeatarerun_____<mes
§  themoveblockis_____steps
§  theBeetlealwaysturnsrightby_____degrees
Thisiscorrectpolygonbecause:
§  ithas_____equalsidesand_____equalangles
§  theblocksintherepeatarerun_____<mes
§  themoveblockis_____steps
§  theBeetlealwaysturnsrightby_____degrees
MODULE2:INVESTIGATION2
[email protected]–UsingandDefiningMoreBlocks
ACTIVITY2.2.3
UsingandDefiningMore
Blocks
MODULE2:INVESTIGATION2
[email protected]–UsingandDefiningMoreBlocks
Con<nuein2-DrawingPolygons,saveasacopy
andrename.
GototheMoreBlocksgroupandfindthenewblocksthat
arethere.
Experimentwiththesenewblocksbyaddingthemtothetop
ofyoursquarescriptorinsidethescript.
MODULE2:INVESTIGATION2
[email protected]–UsingandDefiningMoreBlocks
DragtheBeetlearoundthestagetodrawsquareswith
differentcolouredandsizedlines.
MODULE2:INVESTIGATION2
[email protected]–UsingandDefiningMoreBlocks
Makeanewblock(1)andgiveyourblockameaningfulname
e.g.square(2).
Dragthehatblock(3)andputitasahatontopofthescript
fordrawingasquare(4).
MODULE2:INVESTIGATION2
[email protected]–UsingandDefiningMoreBlocks
DiscussionQues@ons
u  Whatisthedifferencebetweenpencolourandpenshade?
u  Wheredidyoutryplacingthesetrandompenblocksinyour
script–howdidthischangeyourdrawing?
u  Whywoulditbeagoodideatodefineanewblockforascript
youusemany<mesinyourproject(e.g.drawingasquare)?
u  Whyisitimportanttogiveanewblockameaningfulname?
MODULE2:INVESTIGATION2
[email protected]–CombiningNewBlocks
ACTIVITY2.2.4
CombiningNewBlocks
MODULE2:INVESTIGATION2
[email protected]–CombiningNewBlocks
Con<nuein2-DrawingPolygons,
saveasacopyandrename.
Buildascript,usingyoursquareblock,todrawatowerof
twosquares.
MODULE2:INVESTIGATION2
[email protected]–CombiningNewBlocks
Makeanothernewblocktrianglewithsidesthatarethe
samelengthasyoursquare.
MODULE2:INVESTIGATION2
[email protected]–CombiningNewBlocks
Combineyoursquareandtriangleblocksinonescriptto
drawahouse.
MODULE2:INVESTIGATION2
[email protected]–[Extension]CombiningNewBlocks
[Extension]Trybuildingscriptstodrawsomeoftheexample
picturesbelowusingjustthesquareblock.
MODULE2:INVESTIGATION2
[email protected]–CombiningNewBlocks
DiscussionQues@ons
u  Whatproblemsdidyouencounterwhenbuildingascriptfor
drawingatoweroftwosquaresandhowdidyousolvethese?
u  Howdidyouuseyournewblockstocreateahouse?
u  Diddefininganewblockforsquareandtrianglemakeiteasier
todrawthehouse?How?
u  Whatproblemsdidyouencounterwhendrawingyourhouse?
u  Howdidyoudiscovertheanglethatyouneedtoturnbyin
ordertodrawtheroofonyourhousecorrectly?
MODULE2:INVESTIGATION2
MyInves@ga@on2checklist:
Ibuiltascripttodrawasquare.
Ibuiltascripttodrawanequilateraltriangle.
Ienvisagedwhatpolygonsdifferentscriptswoulddraw.
Iusedpre-definedblockswithinmysquarescripttodraw
squareswithsidesofrandomwidthsandcolours.
Idefinedmyownsquareandtriangleblocks.
Iusedmysquareblocktodrawatower.
Iusedmysquareandtriangleblockstodrawahouse.