Collatz Fractal Generator

x = z^m (automatically calculated)
(n where angle = π/n)