Frontend Visualization Challenge: Create an Interactive Mathematical Explorer

Your task is to create a webpage that visualizes a mathematical pattern based on an iterative equation. This challenge will test your skills in:

🕰️ Time Expectation: Please spend no more than 4 hours on this challenge. We're looking for your approach and implementation strategy rather than a completely polished product.

Requirements:

  1. Create a webpage that displays a colored 2D grid visualization of the following equation: $z_{n+1} = z_n^2 + c$
  2. Where:
  3. Visualization specifications:
  4. Technical approach:

Example calculation for the point (1, 2):