3D IFS Cross

Written by Paul Bourke
May 2003


This beast is created by iteratively choosing one of the following functions at random to form a series pn. Each point in the series is represented as a small sphere, the final collection is rendered using PovRay. In order minimise the number of spheres to be rendered (IFS tend to require a very large number of points) the spheres are filtered such that no two spheres lie within 10% of their respective radii.

  • scale by 1/3
  • translate by (a,0,0)
    scale by b
  • translate by (0,a,0)
    scale by b
  • translate by (0,0,a)
    scale by b
  • translate by (-a,0,0)
    scale by b
  • translate by (0,-a,0)
    scale by b
  • translate by (0,0,-a)
    scale by b

where a = (1 + 1/3) / 2 and b = (1 - 1/3) / 2