You can get most of the material needed to create game of life 3d fractals, including the 3d rotational transform and the perspective transformation in the initial fractal cube section.
Although the site has often presented game of life fractals, no code has been shown up to now. This program puts the matter right. It prints out the levels in the fractal cube, though it is inefficient, since it takes no advantage of symmetry.
In order to recover some of the speed , it has been written in C. The program was compiled under both Unix and Dos, as it does not use idiomatic C. The code is fairly straightforward, but C arrays must be zeroed before use, or you are in for all kinds of nasty surprises!
Present Random Quote:
There is an easy way. Who will bother about the difficult? |