Google Classroom
GeoGebraGeoGebra Classroom

A retro cityscape with mathematics

Basic script

t = 0 #Sun f(x) = sqrt(6^2-x^2) sun = Integral(f, -10, 10, false) #Buildings g(x) = 2 + 2 sin(floor(x-t) * 4321) buildings = Integral(g, -10, 10, false) #Perspective L = Zip(y = -5 / k + 0.4, k, 1…10) #Animate animation = Slider(0, 1, 0.01, 1, 200) #Add script in Update tab #SetValue(t, t+0.08)
Inspired by Inigo Quilez https://www.youtube.com/shorts/SXnoxXhpSNo