I trained a neural network to learn the fractal shape from pixel coordinates using PyTorch, NumPy, and Matplotlib. This isn’t curve-fitting. This is pure function learning.
- Added positional encodings to represent spatial patterns
- Increased epochs and depth for better generalization
- And tuned resolution + loss functions
The model approximated the Mandelbrot set with stunning accuracy, no image inputs, just math.
