brainwagon "There is much pleasure in useless knowledge." — Bertrand Russell

16Nov/090

Mandelbulb formula…

Without further explanation, here's Daniel White's "Mandelbulb" formula.

(x, y, z)n = rn (cos(n θ) cos(n φ), sin(n θ) cos(n φ), -sin(n φ))
r = sqrt(x2 + y2 + z2)
θ = atan2(y, x)
φ = atan2(z, sqrt(x2+y2))