@@ -0,0 +1,931 @@
+package com.sdsmdg.kd.trianglify.generators;%0A%0Aimport android.graphics.Point;%0A%0Aimport java.util.Random;%0Aimport java.util.Vector;%0A%0Apublic class GridGenerator %7B%0A%0A    private final Random random = new Random();%0A    private int bleedX = 0;%0A    private int bleedY = 0;%0A    private Vector%3CPoint%3E grid = new Vector%3C%3E();%0A%0A    public GridGenerator() %7B%7D%0A%0A    public GridGenerator(int bleedX, int bleedY) %7B%0A        this.bleedX = bleedX;%0A        this.bleedY = bleedY;%0A    %7D%0A%0A    public Vector%3CPoint%3E generateGrid (int width, int height, int cellSize, int variance) %7B%0A        grid.clear();%0A%0A        int x, y;%0A        for (int j = -bleedY; j %3C height + bleedY; j += cellSize) %7B%0A            for (int i = -bleedX; i %3C width + bleedX; i += cellSize) %7B%0A                x = i + random.nextInt(variance);%0A                y = j + random.nextInt(variance);%0A                grid.add(new Point(x, y));%0A            %7D%0A        %7D%0A%0A        return grid;%0A    %7D%0A%7D%0A

Add new GridGenerator class, with method to generate grid.