public override void Start() { var width = 100; int height = 100; var size = 8; cellGrid = new CustomCellGrid(-width / 2 * size, -height / 2 * size, width, height, size); cellGrid.Start(); }
public CustomCell(int _i, int _j, CustomCellGrid _grid) : base(_i, _j, _grid) { value = (float)Basics.Utils.RandomDouble(); NextValue = Algorithm; rectangleArray = ColoredVertexArray.FromBuffer(rectangleBuffer); }