final List<Point2D> data = new ArrayList<>();
for (double x = 0; x < 20; x += 0.25) {
final double y = (Math.pow((10 - x), 2) / 30) - 2;
final List<Point2D> data = new ArrayList<>();
for (double x = 0; x < 20; x += 0.25) {
final double y = (Math.pow((10 - x), 2) / 30) - 2;