Archives

  • Axes of Evil

    A quick and dirty set of 3D axes for Visual: from visual import arrow, cylinder   def visual_axes( scale ): """\ Display a set of 3D axes.   @param scale: The scale of the axis set. @type scale: C{float} """ for axis in [ tuple( [ i == j and scale * 5 or 0 […]

    Comments Off on Axes of Evil
    Mar 22nd, 2010 | Filed under Uncategorized
    Tags: ,
  • Topology, To What End?

    There have been a number of approaches to build topological models of multi-camera networks. The idea is to represent, in some useful and relatively simple mathematical way, the relationship — usually meaning the overlap — between the fields of view of the cameras. To date, it seems as though all such methods fall into two […]

    Comments Off on Topology, To What End?
    Mar 19th, 2010 | Filed under Uncategorized
    Tags:
  • Snap To Grid

    I like Gabor Herman‘s definition of discrete Euclidean space. He defines, for any positive real number and any positive integer : This chops N-space up into a square (cubic, etc.) Bravais lattice, with primitive vectors of magnitude . Each point in the discrete space is then associated with a primitive cell (or Voronoi neighbourhood, in […]

    Comments Off on Snap To Grid
    Mar 17th, 2010 | Filed under Uncategorized
    Tags: ,
  • Pi Day Madness

    You have a right-handed Cartesian coordinate basis of a three-dimensional Euclidean space, with axes , , and . You’re given some spatial-directional vectors of the form , where and are, respectively, the inclination angle (from the positive -axis zenith) and the azimuth angle (measured right-handed from the positive -axis) of an associated direction, which is […]

    Comments Off on Pi Day Madness
    Mar 14th, 2010 | Filed under Uncategorized
    Tags: ,
Archive for March, 2010