This is so close… I’ve got this all setup with points students will move to create a triangle that is a reflection over the y-axis.
It will only mark correct if the points are exactly in the same order. How can it check any permutation of points, so the order doesn’t matter?
I love the use of the Desmos graph! I’m sure there’s some more generalizable solution out there using sort or reduce, but I just went ahead and added all possible triangle permutations to the line that checks correctness, and it seems to be working out!
Yes, thank you! That’s just as I imagined it! (I couldn’t figure out how to get the permutation language in the graph).
One last request on this… a quadrilateral. I think there are 24 possible permutations it could be, is there a shortcut to add them all to check correctness?
I put another slide on here with a trapezoid as the original.
I’ve run into issues with shortcutting it since Desmos doesn’t allow arrays of arrays of points (?). But this whole problem of generalizing it to any number of points nerd-sniped me, so I’ve added code that will work for objects with an arbitrary number of points ![]()
The desmos Graph code should be able to be kept the same, I’ve just made the changes in the CL code. Note that the CL code overwrites the value of I_c, so the logic inside the graph which checks things can all be gutted.
Phew! That coding is way over my head… So glad you could help me figure it out! Thank you!
Here’s the final lesson I’m using this for 6th Grade: Reflections.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
