Quest 2: From Complex to Clarity
- Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
- You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL
Link to participate: https://everybody.codes/


I struggled for a long time because I had nearly the correct results. I had to switch
divwithquot.This puzzle was fun. If you have a visualization, it’s even cooler. (It’s a fractal)
Haskell Code
My girlfriend is learning python, we are taking on the challenges together, today I may upload her solution:
python
A=[-3344,68783] R = [0, 0] B= [A[0]+1000, A[1]+1000] pointsengraved = 0 cycleright = 0 for i in range(A[1], B[1]+1): for j in range(A[0], B[0]+1): for k in range(100): R = [int(R[0] * R[0] - R[1] * R[1]), int(R[0] * R[1] + R[1] * R[0])] R = [int(R[0] / 100000), int(R[1] / 100000)] R = [int(R[0] + j), int(R[1] + i)] if -1000000>R[0] or R[0]>1000000 or -1000000>R[1] or R[1]>1000000: #print(".", end="") break cycleright += 1 if cycleright == 100: pointsengraved += 1 #print("+", end="") cycleright = 0 R = [0, 0] #print() print(pointsengraved)The commented out print statements produce an ascii map of the set, which can be cool to view at the right font size.