private void EngineInit() { //InitNoise(seed); d1 = new DelaunayVoronoi(CANVAS_WIDTH, CANVAS_HEIGHT, (int)seedInput.Value, (int)radiusInput.Value); renderThread = new Thread(new ThreadStart(render)); renderThread.Start(); }
private void radiusInput_ValueChanged(object sender, EventArgs e) { hoverIndex = -1; d1 = new DelaunayVoronoi(CANVAS_WIDTH, CANVAS_HEIGHT, (int)seedInput.Value, (int)radiusInput.Value); }