Exemple #1
0
 private void button2_Click(object sender, RoutedEventArgs e)
 {
     g = new FlourishingTreeGenerator();
     r = new LowRender(xCanvas);
     xCanvas.Children.Clear();
     r.Draw(g.Generate());
 }
Exemple #2
0
 private void button3_Click(object sender, RoutedEventArgs e)
 {
     g = new SampleTree();
     r = new LowRender(xCanvas);
     xCanvas.Children.Clear();
     r.Draw(g.Generate());
 }
Exemple #3
0
 private void button1_Click(object sender, RoutedEventArgs e)
 {
     g = new SensitivePlantGenerator();
     r = new LowRender(xCanvas);
     xCanvas.Children.Clear();
     r.Draw(g.Generate());
 }