Google Classroom
GeoGebraGeoGebra Classroom

Four-bar free chain

This activity belongs to the GeoGebra book Linkages. Thanks to the use of scripts, we can simulate the interactive behavior of the mechanisms, overcoming the limitations imposed by the dependency structure of Dynamic Geometry. In this example, the five points are free, but maintain the constant length of the bars at all times.
The scripts used are detailed below. When moving A: SetValue(B, Intersect(Ray(A,B), Circle(A,1))) SetValue(C, Intersect(Ray(B,C), Circle(B,1))) SetValue(D, Intersect(Ray(C,D), Circle(C,1))) SetValue(E, Intersect(Ray(D,E), Circle(D,1))) When moving B: SetValue(A, Intersect(Ray(B,A), Circle(B,1))) SetValue(C, Intersect(Ray(B,C), Circle(B,1))) SetValue(D, Intersect(Ray(C,D), Circle(C,1))) SetValue(E, Intersect(Ray(D,E), Circle(D,1))) When moving C: SetValue(B, Intersect(Ray(C,B), Circle(C,1))) SetValue(D, Intersect(Ray(C,D), Circle(C,1))) SetValue(A, Intersect(Ray(B,A), Circle(B,1))) SetValue(E, Intersect(Ray(D,E), Circle(D,1))) When moving D: SetValue(E, Intersect(Ray(D,E), Circle(D,1))) SetValue(C, Intersect(Ray(D,C), Circle(D,1))) SetValue(B, Intersect(Ray(C,B), Circle(C,1))) SetValue(A, Intersect(Ray(B,A), Circle(B,1))) When moving E: SetValue(D, Intersect(Ray(E,D), Circle(E,1))) SetValue(C, Intersect(Ray(D,C), Circle(D,1))) SetValue(B, Intersect(Ray(C,B), Circle(C,1))) SetValue(A, Intersect(Ray(B,A), Circle(B,1)))
Author of the construction of GeoGebra: Rafael Losada