/// <summary> /// Launch Koch curve rendering. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button2_Click(object sender, EventArgs e) { FractalRenderWindow fractalRender = new FractalRenderWindow(); fractalRender.fractal = new KochCurve(1, 3, 120, 50, 50); fractalRender.Show(); }
/// <summary> /// Launch Sierpinski triangle rendering. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button4_Click(object sender, EventArgs e) { FractalRenderWindow fractalRender = new FractalRenderWindow(); fractalRender.fractal = new SierpinskiTriangle(1, 3, 120, 50, 50); fractalRender.Show(); }
/// <summary> /// Launch Cantor set rendering. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button5_Click(object sender, EventArgs e) { FractalRenderWindow fractalRender = new FractalRenderWindow(); fractalRender.fractal = new CantorSet(1, 3, 120, 50, 50); fractalRender.Show(); }
/// <summary> /// Launch Pythagoras tree rendering. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button1_Click(object sender, EventArgs e) { FractalRenderWindow fractalRender = new FractalRenderWindow(); fractalRender.fractal = new PythagorasTree(1, 3, 120, 50, 50); fractalRender.Show(); }