Example #1
0
        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();
        }
Example #2
0
 private void radiusInput_ValueChanged(object sender, EventArgs e)
 {
     hoverIndex = -1;
     d1         = new DelaunayVoronoi(CANVAS_WIDTH, CANVAS_HEIGHT, (int)seedInput.Value, (int)radiusInput.Value);
 }