This is an example to implement HSV scheme to objects without changing the color settings of the objects manually.[br][br]I used this applet: [url=https://www.geogebra.org/m/rnzrfxph]Color palettes[/url]
[code]n = 20[br]Ln = 1...n[br][br]speed = 1[br]t = Slider(0, 2 pi, 0.01, speed, 200)[br]f(x) = sin( (20x + t))[br][br]Execute(Zip("P"+k+" = ("+k+", f("+k+"))", k, Ln))[br]Execute(Zip("ShowLabel(P"+k+", false)", k, Ln))[br][br]Execute(Zip("C"+k+" = Circle(P"+k+", 1)", k, Ln))[br]Execute(Zip("ShowLabel(C"+k+", false)", k, Ln))[br][br]A = (0.5, 0.5, 0.5)[br]B = (0.5, 0.5, 0.5)[br]C = (1, 1, 0.85)[br]D = (0, 0.33, 0.67)[br][br]Red(x) = x(A) + x(B) * cos(2pi(x(C)*x+x(D)))[br]Green(x) = y(A) + y(B) * cos(2pi(y(C)*x+y(D)))[br]Blue(x) = z(A) + z(B) * cos(2pi(z(C)*x+z(D)))[br]SetVisibleInView(Red, 1, false)[br]SetVisibleInView(Green, 1, false)[br]SetVisibleInView(Blue, 1, false)[br][br]Execute(Zip("SetDynamicColor(C"+k+", Red("+k+"/n), Green("+k+"/n), Blue("+k+"/n), 1)", k, Ln))[br][br]ShowGrid(false)[br]ShowAxes(false)[br][/code]