I agree with your analysis and suggestion but that doesn't mean I will do anything about it anytime soon. This opens the door for anyone to make a tutorial scene as a response to this scene. A good tutorial scene may get more hits than this one.
Q: Could you make it grow and shrink?
A: Yes, but if I did, I would like to do it accurately. If the user's eye was at the pendulum attachment point when the camera zoom is 1.0, then the growth at the end of the swing compared to the center of swing would only be 5%. I would also need to reverse the growth calculation, based on ball position and zoom, at loading or startup, in order to determine the weight of the ball. That's a fair amount of effort for a small effect. I could hard code the weight of the ball, but that would eliminate any effect of density change.
Thanks. It was quite an effort. 340 custom lines of code in the "Engage" button alone and 1320 custom lines of code altogether. I did it mainly as a math exercise since I had tangent circles on the brain and couldn't find an algorithm for making a tangent circle to 3 polygons on line.
Q: The XOR gate has strange flickering behavior?
A: That's because you are not pressing the A and D keys at exactly the same time. To check, set both inputs to the same key and you won't see any flickering.
Thanks for the link, I have that book and have been reading through it. "Fundamentals of Design" by Alexander Slocum is a wealth of practical information regarding mechanical design. I encourage any Agodooers interested in mechanical design to read the book. There is also Excel spreadsheets that go along with the book. Algodoo can model many of the concepts in the spreadsheets.
WezorX,
See Cantilever Beam, Large Deflection. See comment in original scene where you asked this question to see text on how to add torque load to motor.
Create box.
Connect box to background using (2) hinges.
Attach circle with hinge to box.
Move circle away from box creating a stretched axle.
Attach a second circle with hinge to the box.
Setup one hinge as a motor and the other as a brake.
Move the first circle directly over the second circle. You should end up with (2) circles connected to the box.
Connect both circles together.
If the brake torque is less than the motor torque then the circle will rotate.
I know. I thought he was asking a general question, so I answered the question above, then I noticed the same comment in "Motor Power" and I answered the question differently in that scene. That's why I said "See comment in original scene..." in the comment above.
Nice work. You can add your youtube video to the description. Instructions are at Help. This scene introduces a lot of stuff I didn't know. I appreciate you taking the time to make the scene and video to share your knowledge.
I am unfamiliar with any traditional stepper homing procedure, so I just made it the way I thought it should be. Every time the homing switch changes state, the motor reverses direction and the step size is cut in half. The motor stops after the step size is below a specified precision.
Q: Do you know of any actual real world equipment that uses the homing procedure in your scene?
A: Yes, and it's smoother than this scene depicts.
Q: Why the saw-tooth motion while approaching the Home sensor?
A: Because I wanted the move increment to be smaller than the light blocker flag, because the motor acceleration is limited to a set value, and because I designed it as a home sensor initially and added limit functionality later.
Looks like the "traditional" stepper homing procedure is faster. I may try that.