I have a Manipulate in which a slider traces across the window a red hyperbola over an existing dotted hyperbola. The hyperbolas are rotated 30 degrees clockwise, but the slider gradually exposes the red hyperbola vertically. I have been trying to get the slider to sweep out the exposure of the red hyperbola at an angle parallel to the 30 degree rotated y-axis, but have not yet succeeded.
I prefer incorporating a transformation into code to rotate the slider exposure to the slant I want in order to preserve the slider. As an alternative, I suspect a 2D controller could achieve what I'm looking for. However, any idea that will expose the tracing hyperbola at an angle will be great. `
Manipulate[Module[{hyperbola, sliderHyperbola},
hyperbola =
ContourPlot[{-10 x - x^2 + (2 y)/Sqrt[3] + 2 Sqrt[3] x y + y^2 ==
0, y == 2/Sqrt[3] - x/Sqrt[3],
y == Sqrt[3] x + 8/Sqrt[3]}, {x, -14, 9}, {y, -6, 10},
ContourStyle -> {
{Directive[Black, Dotted]}, {Directive[Black, Dotted]}}];
sliderHyperbola =
Plot[{-(1/Sqrt[3]) - Sqrt[3] x - Sqrt[
1/3 + 12 x + 4 x^2], -(1/Sqrt[3]) - Sqrt[3] x + Sqrt[
1/3 + 12 x + 4 x^2]
}, {x, -9, y},
PlotStyle -> {{Red, Thick}, {Red, Thick}}];
Show[hyperbola, sliderHyperbola, Frame -> True,
ImageSize -> 20.1 16.1, AspectRatio -> Automatic,
PlotRange -> {{-9, 7}, {-6, 10}}]
], {y, -14, 8, ImageSize -> 300}, AutoAction -> True,
ContinuousAction -> True, SaveDefinitions -> True]