public IActionResult GetImage(int i, int w, int h, double sx, double sy, double ex, double ey) => File(Paintbrot.Paint(i, w, h, Extent.Create(sx, sy, ex, ey)), "image/png");
public IActionResult Plan(int w, int h) => Json( Paintbrot.Plan( new ScreenInfo { Size = Point.Create(w, h), Bounds = Extent.Create(-2.5, -1, 1, 1) }));