Fractal Geometry(From 1975) The gasket is self-similar. That is, it is made up of smaller copies of itself BABBBAABBABBBAB
Fractal Geometry (From 1975) •The gasket is self-similar. That is, it is made up of smaller copies of itself. 11
Fractal Geometry
Fractal Geometry 12
Sierpinski Gasket(2D Start with a triangle Connect bisectors of sides and remove central triangle Repeat
13 Sierpinski Gasket (2D) • Start with a triangle • Connect bisectors of sides and remove central triangle • Repeat
Example Five subdivisions Fifteen AAAA AA立 点点点点点
14 Example •Five subdivisions Fifteen
Gasket Program #include <GL/glut.h> /* initial triangle * GLf1oatv[3][2]={{-1.0,-0.58}, 1.0,-0.58},{0.0,1.15}} int n; /* number of recursive steps *
15 Gasket Program #include <GL/glut.h> /* initial triangle */ GLfloat v[3][2]={{-1.0, -0.58}, {1.0, -0.58}, {0.0, 1.15}}; int n; /* number of recursive steps */