Hey, I’ve initiated the following code and now I want that the circle (with a spoke in it) performs pure rolling or it looks that it actually moves in real sense.
Can anybody tell me how to do it?
For the circle to accquire pure rolling or to at least be seen that it is actually “rolling” you might want to plug in the equations for a “cycloid”.
A cycloid is a special type of curve which can actually simulate what you need:
“A cycloid is the curve traced by a point on the rim of a circular wheel as the wheel rolls along a straight line without slippage.”
Note that this is more a Physics question than a programming one, but, basically if the circle rolls without slippage than that means that for you to simulate a rotation, all you need to do is make the circle “slide” horizontally with constant velocity and couple a cycloid like motion to it.
If you do that, then you can literally obtain the figure which is on the wikipedia link.