I am working on a problem right now that I think is out of my league mathematically. I will do my best to describe the problem, please feel free to ask for clarification in the comments!
I'd like to figure out the equations to model a circular/elliptical shape on the ground, when the source (above the ground) is rotating. For example, if I was to stand and point a flashlight at the ground, the projected light would be circular. If I angle the flashlight (rotating my wrist L and R) the shape becomes elliptical. Now the confusing part- Let's say there is an ant on the ground, and i need to rotate my wrist left and right to scan for this ant with my flashlight. When I find the ant, I want to keep the flashlight fixed on it, but I am moving away from the ant holding the flashlight at constant velocity. A corrective angle perpendicular to the flashlights rotation will need to be applied for the flashlight to stay focused on the ant. I believe this may use matrices but I have also attempted a calculus solution, I just have ended up so tangled up that I get lost. If any part of that isn't clear or if this is just a nonsense question feel free to let me know, thank you in advance for any help/advice!