3D IFS Hedgehog

Written by Paul Bourke
May 2003

Name attributed to the authors of "IFS Builder 3d".


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,a,a)
    scale by b
  • translate by (a,a,-a)
    scale by b
  • translate by (a,-a,a)
    scale by b
  • translate by (a,-a,-a)
    scale by b
  • translate by (-a,a,a)
    scale by b
  • translate by (-a,a,-a)
    scale by b
  • translate by (-a,-a,a)
    scale by b
  • translate by (-a,-a,-a)
    scale by b

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