direction computation, initial graphics experiments