Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
6-liner: conjugate solution in Clear category for Fibonacci Spiral's End by przemyslaw.daniel
def fibo_spiral_end(number: int) -> list[float]:
result, fib = 0, 1 + 1j
for index in range(number):
result += (1 - 1j) * 1j ** index * fib.imag
fib = 1j * fib.conjugate() + fib.real
return [result.real, result.imag]
Jan. 7, 2023
Comments: