Rotation/Reflection Bumper Squares Bumper Triangles Back to Coding Stories

 

ROTATIONS & REFLECTIONS with CODE

 

Tech tips: To better fit the coding environment on your screen ... On laptop: use Control or Command key and minus (-) key to reduce screen resolution. On tablet or phone: use touch commands to resize screen or scroll to access code window below canvas.

Terms of use: This app may be used for classroom teaching, accessed from this website. This app is part of ongoing research by George Gadanidis (and colleagues) and may not be used for other research.

Credits: By George Gadanidis & Chris Yiu. Development, research and outreach support from ORF-RE, SSHRC & MKN.

Rotation symmetries of the square

Enter this code.
Then click Run Code.

Notice the rotation permutations listed on the left of the screen.

How many unique permutations are there?

How many rotation symmetries does the square have?

 

Rotation symmetries of the triangle

Repeat the above explorations for the triangle. How would you edit the code?

Reflection symmetries of the square

Enter this code.
Then click Run Code.

Edit the code to get all the possible reflection symmetries of the square. How many are there? Record their permutations.

Enter this code.
Then click Run Code.

What do you notice? How would you explain this result?

Reflection symmetries of the triangle

Repeat the above explorations for the triangle. How would you edit the code?


Your browser does not support the HTML5 canvas tag.