change the variables around. press m to use 3-dimensional trig to figure out where the pen will be based on the x/y and x/z plane directions and the distance to the radius. now with 3d pen effects!