Properties
Category
Uncategorized
Similar Topics
Statistics
Comments
9
Participants
4
Subscribers
4
Votes
1
Views
694
Share
Answered
I want to get an object to stay fixed at all possible positions when i rotate it around a point. When an object is rotated 90 degrees around a point, I get three copies, when it is rotated 1 degree, I get 359 copies etc.. Take a look at this worksheet from the NRICH project to get a better idea of what i mean: https://www.geogebra.org/m/M73Wf7PQ
The question is: how do I get the rotation to "continue" from the first copy created?
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2022 International GeoGebra Institute
Hopefully this will get you started:https://wiki.geogebra.org/en/Sequence_Command
Also you can download https://www.geogebra.org/ma... and see how it was made
Attached a sample with the command Sequence()
The object (polygon1) is defined outside of the rosette in Graphics2
The following command create the rosette in Graphics1
l1=Sequence(Translate(Rotate(polygon1, (360°) / n m, O'), Vector(O', O)), m, 1, n)
This nested command has (from inside to outside) 3 parts (in bolt)
The result in Graphics1 can be move with the point O (undependet of the original polygon1)
Thanks for the help guys. I'm also working on another case of rotations, where everything works perfectly in the desktop app, but when i upload it to geogebra.org, the start button returns the error: "Error in script at line 3 from object knapp1(button1). UnknownCommand: if."
Do any of you know why this is?
Screenshot of the worksheet attached. Image is from GeoGebra 5, because 6 automatically translate commands to Norwegian.
Try with If (upper case) instead of if.
Maybe the translation to/from norwegian is wrong (I test in my environment: no problems)
.
Note: To check for errors: normally the ggb-file is needed
Comments have been locked on this page!