예제 #1
0
        /// <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();
        }
예제 #2
0
        /// <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();
        }
예제 #3
0
        /// <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();
        }
예제 #4
0
        /// <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();
        }