A spring segment
PaulR shared this idea 12 years ago
Would it be possible to create a spring segment tool? This would be a spring shaped element between two points. It should be able to stretch or compress nicely if the points move.
I do not use V4 or 5 so forgive me if it is in there!
- Feedback & Questions
- +43 677 6137 2693
try this one
It would be nice to have a built in one though. A smooth curve like a 2D view of a helical spring.
This could make a tool a little heavy but we can still try.
As you say, a bit heavy in the construction department!
I had a go at this game myself and came up with this spring. The idea comes from a bycicle wheel, radius r, with its axle moving from r to L on the x-axis at speed v. A point on the wheel must start at 0, do n full turns and end at L. This means that
x = r + cos(Pi-wt)+vt
y = rsin(Pi-wt)
and to do the turns correctly w = 2*n*Pi and v = L for t from 0 to 1.
To go from point A to point B then
L = distance[A, B]
We must also rotate the interval 0 to L into the interval A to B so put
e_1 = x(B-A)/L
e_2 = y(B-A)/L
now plot the curve
curve[x(A) + x*e_1 - y*e_2, y(A)+x*e_2 + y*e_1, t, 0, 1]
In the attached construction (v3.2) I changed r*sin to 2*r*sin as at gives a nicer looking spring.
Then a tool like Spring[A, B, n, r] can be made.
Can I use it for Geogebra files in physical sciences for the balance and energies with the springs.
I'd be honoured - your stuff is fab!
Is it still available?
Comments have been locked on this page!