Simply call the appropriate API providing the radius and the number of recursion steps. For example:
/api/circles/3/5Will return the circles defining the 2D Apollonian Gasket for an outer circle with a radius of
3, using a recursion level of
/api/spheres/5/7Will return the spheres defining the 3D Apollonian Packing for an outer sphere with a radius of
5, using a recursion level of
For more information regarding Apollonian Gaskets, see this page on Wikipedia.
For more information regarding Apollonian Packing, see this page on Wikipedia.