21
COORDINATES AND GEOMETRY MODULE 6: INVESTIGATION 3 Transforma<ons 1

Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

COORDINATESANDGEOMETRYMODULE6:INVESTIGATION3

Transforma<ons

1

Page 2: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

ACTIVITY6.3.1

MimicMeeeee

MODULE6:INVESTIGATION3Ac<vity6.3.1–MimicMeeeee

2

Page 3: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

Openproject6-MimicMeeeee -ifonlineSaveasacopyandaddyourname -ifofflineSaveasandaddyourname

Exploretheproject,itsspritesFleeeeeandMeeeee,theircostumesandtheirsetupscripts.

Runtheprojectbyclickingthe.Envisage,exploreandexplaintwoforeverscriptsofFleeeee.

MODULE6:INVESTIGATION3Ac<vity6.3.1–MimicMeeeee

3

Page 4: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

ForMeeeeebuildawhengreenflagclickedscript,whichwillmakethespriteforeverlooktowardsFleeeee.TryitthenbydraggingFleeeeearoundthestage…Exploreandexplain.

4

MODULE6:INVESTIGATION3Ac<vity6.3.1–MimicMeeeee

Page 5: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

ForMeeeeebuildawhengreenflagclickedscript,whichwillmakethespriteforeverlooktowardsFleeeee.TryitthenbydraggingFleeeeearoundthestage…Exploreandexplain.

WhichofthesetwosoluFonsiscorrect?Envisage,exploreandexplainthedifference.

5

MODULE6:INVESTIGATION3Ac<vity6.3.1–MimicMeeeee

Page 6: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

ModifypreviousscriptsothatMeeeeewillalwayssaythecurrentxposi<onofFleeeee.UseapowerfulSensingblocks–somethingofsomebody.

Whichofthetwosayblockshaveyouused?WhichoneismoreusefulinthissituaFon?Envisage,exploreandexplain.

6

MODULE6:INVESTIGATION3Ac<vity6.3.1–MimicMeeeee

ThendragFleeeeearoundthestageandobserveMeeeee.

Page 7: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

BuildamimickingscriptforMeeeee,whichwillforeverswitchitscostumetothecurrentcostume#ofFleeeee.Keepthepreviousscriptwithsay…,thescriptforswitchingcostumeswillbethefourthwhengreenflagclickedscriptMeeeee.

InthescriptofMeeeeewiththesayblock,replacesaybysetxto…sothatMeeeeewillnowmoveandmimictheactualxposi7onofFleeeee.

7

MODULE6:INVESTIGATION3Ac<vity6.3.1–MimicMeeeee

DragFleeeeearoundthestageandobserveMeeeee.

Page 8: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

Modifythesamescriptbyreplacingsetxto…andxposi7onofFleeeeebysetyto…andyposi7onofFleeeee.Envisageandexplore.

ModifytheiniFalposiFonofFleeeeetobex:0y:0.ModifythesetupscriptofMeeeeesothat:

•  itsiniFalposiFonisx:0y:0,withpendown,•  insteadofsetxto…orsetyto…usegotox:…y:…forxandyposiFonsofFleeeee.

•  Removethepointtowardsblock.

8

MODULE6:INVESTIGATION3Ac<vity6.3.1–MimicMeeeee

ThendragFleeeeearoundthestageandobserveMeeeee.

DragFleeeeeandobserve.

Page 9: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

ACTIVITY6.3.2

Shadows,Transla<onsandReflec<ons

MODULE6:INVESTIGATION3Ac<vity6.3.2–Transla<ons

9

Page 10: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

ConFnueinyour6-MimicMeeeeeproject.

ClickthesothatMeeeeewillstartmimickingFleeeee.ForFleeeeebuildanisolatedglideblockwithrandomx:andy:posiFons.Turntheglideblockintothewhenthisspriteclickedscript,withrepeat10aroundglide.

10

MODULE6:INVESTIGATION3Ac<vity6.3.2–Transla<ons

Page 11: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

ReplacepenupofFleeeeebypendownandclickthespriteagain.Didithelp?Envisage,exploreandexplainthedifference.ToseelinesforbothFleeeeeandMeeeee,modifythemimickingscriptofMeeeeetomove10pixelstotheright.

11

MODULE6:INVESTIGATION3Ac<vity6.3.2–Transla<ons

u Whatcolourarethelines?Whodrawsthem?

u WhenFleeeehasitspendownwhyareallthelinesred?

Page 12: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

InthemimickingscriptofMeeeee,useanoperatortoaddasmallvaluetotheyposi7onofFleeeee.

ExploretheimagescreatedusingsmallvaluesoftranslaFon,differentpensizesandpencolours.

RestrictFleeeee’sglidingwithintheupperleVquadrant.MakeMeeeeemimicthesameglidedoodletranslated:

12

•  right200 • down150 •  right50down50

MODULE6:INVESTIGATION3Ac<vity6.3.2–Transla<ons

Page 13: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

Insteadofusing inthemimickingscriptofMeeeee,usemulFplyby-1onthexposi7onofFleeeeeoryposi7onofFleeeeeorboth!

[Extension]MulFplyxoryposiFons(orboth)inthemimickingscriptofMeeeeeby0.5or-0.5.

Envisage,exploreandexplain.

13

MODULE6:INVESTIGATION3Ac<vity6.3.2–Transla<ons

Page 14: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

ACTIVITY6.3.3

ThroughtheLookingGlass

MODULE6:INVESTIGATION3Ac<vity6.3.3–ThroughtheLookingGlass

14

Page 15: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

Openproject6-LookingGlass -ifonlineSaveasacopyandaddyourname -ifofflineSaveasandaddyourname

ClicktheandexplorehowMeeeeeimitatesFleeeee.Clickthemove…andturn…scriptofFleeeeeandexplain.Makeregularpolygons:equilateraltriangle,square,hexagonetc.Extendthemove…andturn…scriptsothatitdrawsarectangle.Runitandexplore.Discusstheproblem.

Replaceeach blockby whichisaslowerversionofmovedefinedforyou.

MODULE6:INVESTIGATION3Ac<vity6.3.3–ThroughtheLookingGlass

15

Page 16: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

Makevariablesidelengthanduseitinthestroll…stepsblocktodefineyourownsquareblockforFleeeee.Useyourownnewsquareblockinmorecomplexscriptstodrawpicturessimilartothese.NotethatMeeeeeisalwaysmimickingFleeeeeinitsownway.

MODULE6:INVESTIGATION3Ac<vity6.3.3–ThroughtheLookingGlass

16

Page 17: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

[Extension]ModifythemimickingscriptofMeeeeesothatitreflectsthexposi7onofFleeeeemulFpliedbyposiFve0.5.Runyourpreviousscripts(orsimilar)withthesquareblockagain.

MODULE6:INVESTIGATION3[Extension]Ac<vity6.3.3–ThroughtheLookingGlass

17

Page 18: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

[Extension]ModifythemimickingscriptofMeeeeesothatitreflectsonlytheyposi7onofFleeeeemulFpliedby-1.Runyourpreviousscripts(orsimilar)withthesquareblockagain.

MODULE6:INVESTIGATION3[Extension]Ac<vity6.3.3–ThroughtheLookingGlass

18

Page 19: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

[Extension]Usethestroll…stepsblockwithvariablesidelength.DefinethetriangleblockforFleeeee.Usesquareandtriangletodefineyourownhouseandarowofhouses.LetMeeeeedrawanightreflecFoninthepond.

Switchthebackdroptointhedayorinthenight,exploreandcreateyourownscenes.

MODULE6:INVESTIGATION3[Extension]Ac<vity6.3.3–ThroughtheLookingGlass

19

Page 20: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

MyInves<ga<on3checklist:IexploredforeverscriptstomakeFleeeeeblinkornodatrandomly.Iexploredandusedthesomethingofsomebodyblock.IbuiltscriptsforMeeeeetomimicFleeeeeindifferentwayse.g.itsposiFon,heading,andcostume.IbuiltaglidedoodleforFleeeeeandexploredhowtotranslateitindifferentwaysusingMeeeee.Ireplacedthemoveblockwiththestroll…stepsblocktoenableMeeeeetomimicallofFleeeee’smovements.[Extension]IusedstrolltodrawcomplexdrawingswiththereflecFons.[Extension]IcreatedacomplexsceneforFleeeee,mirroredinwaterbyMeeeee.

MODULE6INVESTIGATION3:CheckList

20

Page 21: Transformaons - UCL · 2018. 7. 26. · Open project 6-Mimic Meeeee - if online Save as a copy and add your name - if offline Save as and add your name Explore the project, its sprites

Isasensingblockthatreportsdifferentvaluesofthespecifiedsprite

Similartogotox:…y:…block,itmakesthespritesmoothlyglidetospecifiedxandyposiFonsinspecifiedFme

Ourownblocktoreplacemove…stepsincertainsituaFons.Itmakesaspritemoveandwaitabit

MODULE6INVESTIGATION3:KeyVocabulary

21