Fractals in VTK Designer

I am teaching a course on OpenGL programming to Computer Science Engineering students in VTU, through its EDUSAT program. In my next class I am supposed to teach rendering of fractal images/models in OpenGL. While preparing for the class, I was intruigued by Sierpinski triangle and pyramid. After writing the OpenGL code for my class, I thought of introducing the same in VTK Designer. Here are the results..

The code for both of these is now available in VTK Designer SVN. I plan to add more such fractals 🙂