A retro cityscape with mathematics

Basic script
[code]t = 0[br][br]#Sun[br]f(x) = sqrt(6^2-x^2)[br]sun = Integral(f, -10, 10, false)[br][br]#Buildings[br]g(x) = 2 + 2 sin(floor(x-t) * 4321)[br]buildings = Integral(g, -10, 10, false)[br][br]#Perspective[br]L = Zip(y = -5 / k + 0.4, k, 1…10)[br][br]#Animate[br]animation = Slider(0, 1, 0.01, 1, 200)[br]#Add script in Update tab[br]#SetValue(t, t+0.08)[/code][br][br]
Inspired by Inigo Quilez[br][br][url=https://www.youtube.com/shorts/SXnoxXhpSNo]https://www.youtube.com/shorts/SXnoxXhpSNo[/url]
Support
If you like my work, you can support me in Patreon: [br]https://www.patreon.com/jcponce[br][br]Get my recent Mathematical Art with GeoGebra ebook:[br]https://www.patreon.com/jcponce/shop/mathematical-art-with-geogebra-577631[br][br]∞ Thanks fro your support!

Information: A retro cityscape with mathematics