From 3f76529d15b8b70f218747ef0af8cacbdec96c7c Mon Sep 17 00:00:00 2001 From: fredrikr79 Date: Sun, 21 Sep 2025 13:02:36 +0200 Subject: [PATCH] ugly colors draw mandel brot (slow) --- main.ua | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/main.ua b/main.ua index 4f68d56..2019099 100644 --- a/main.ua +++ b/main.ua @@ -1 +1,15 @@ -"Hello, World!" \ No newline at end of file +# how many iterations before divergence +# ? z0=c +Iter ← ◌⍢( + ⊃(+ⁿ2⊙⋅∘|⋅+₁) +| ↧⊙<₁₀₀₀≤2⌵ +)⊙0. +# ? iteration_number +Color ← °hsv [⊙⊙(˜-τ×τ÷1000) 1 1] +# create [a, b) with n values +# ? a b n +Linspace ← +⟜(×⌵-⊙⊙(÷⟜⇡)) + +X ← Linspace ¯1.8 0.85 200 +Y ← Linspace ¯1.1 1.1 200 +&ims ≡₀Color ≡₀Iter ⊞ℂ Y X