Rainbow Snake
Loading the math board and drawing, please wait…
This example demonstrates a dynamic rainbow snake. It involves trigonometric functions and parametric equations. Using the CurveCartesian command, a snake-like curve can be constructed. This example is suitable for high school mathematics education, particularly in coordinate geometry and trigonometry.
GeoGebra Commands & Parameters
CurveCartesian((4 * cos((2 * t))) + (5 * cos((5 * t))), (4 * sin((7 * t))) + (3 * sin((4 * t))) + (2 * sin((3 * t))), (2 * sin((3 * t))) + (3 * cos((7 * t))) + (4 * cos((3 * t))), t, 0, (2 * π)) → aSphere(a(t + 1 / 70), 1 / 30) → A1Sphere(a(t + 2 / 70), 2 / 30) → A2Sphere(a(t + 3 / 70), 3 / 30) → A3Sphere(a(t + 4 / 70), 4 / 30) → A4Sphere(a(t + 5 / 70), 5 / 30) → A5Sphere(a(t + 6 / 70), 6 / 30) → A6Sphere(a(t + 7 / 70), 7 / 30) → A7Sphere(a(t + 8 / 70), 8 / 30) → A8Sphere(a(t + 9 / 70), 9 / 30) → A9Sphere(a(t + 10 / 70), 10 / 30) → A10Sphere(a(t + 11 / 70), 11 / 30) → A11Sphere(a(t + 12 / 70), 12 / 30) → A12Sphere(a(t + 13 / 70), 13 / 30) → A13Sphere(a(t + 14 / 70), 14 / 30) → A14Sphere(a(t + 15 / 70), 15 / 30) → A15Sphere(a(t + 16 / 70), 16 / 30) → A16Sphere(a(t + 17 / 70), 17 / 30) → A17Sphere(a(t + 18 / 70), 18 / 30) → A18Sphere(a(t + 19 / 70), 19 / 30) → A19Sphere(a(t + 20 / 70), 20 / 30) → A20Sphere(a(t + 21 / 70), 21 / 30) → A21Sphere(a(t + 22 / 70), 22 / 30) → A22Sphere(a(t + 23 / 70), 23 / 30) → A23Sphere(a(t + 24 / 70), 24 / 30) → A24Sphere(a(t + 25 / 70), 25 / 30) → A25Sphere(a(t + 26 / 70), 26 / 30) → A26Sphere(a(t + 27 / 70), 27 / 30) → A27Sphere(a(t + 28 / 70), 28 / 30) → A28Sphere(a(t + 29 / 70), 29 / 30) → A29Sphere(a(t + 30 / 70), 30 / 30) → A30