79528947

Date: 2025-03-23 12:35:06
Score: 1
Natty:
Report link

so after a lot of trial and error and hours spent, here is the correct formula, so many hours spent on a simple formula, but it gave me so much dofamine when it started working

zx = -(mandelbrot.get_x_offset() - (mouse.x / mandelbrot.get_zoom_x()));

zy = -(mandelbrot.get_y_offset() - (mouse.y / mandelbrot.get_zoom_y()));
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: NeKon