closure bump

This commit is contained in:
2026-09-12 14:44:08 +02:00
parent 5c5c81325d
commit 762ed3c478
9 changed files with 172 additions and 14 deletions
+29
View File
@@ -35,3 +35,32 @@
(color 0.01 0.05 0.15)
(color 0.01 0.05 0.15)
20 0.7))
(set 'mandelbrot-red
(mandelbrot-texture
1800.0
(point2 -0.7489967346191402 -0.06952285766601607)
1000
(color 0.3 0 0)
(color 0.3 0 0)
(color 0.3 0 0)
))
(defun mandel-zoom (n z1 z2)
(let '((n . n)
(z1 . z1)
(z2 . z2))
(lambda (t)
(let '((pct . (/ t (* n 1.0)))
(range . (- z2 z1)))
(mandelbrot-texture
(+ z1 (* pct range))
(point2 -0.7489967346191402 -0.06952285766601607)
1000
(color 0.3 0 0)
(color 0.3 0 0)
(color 0.3 0 0)
)
)))
)