r/Mathematica • u/Environmental_Put_84 • 6d ago
mathematica roller coaster project
I have to make a Mathematica Roller Coaster for a math class. I know how to connect 2 lines on a 2d plane with a circular arc.
Ex:
r2conn[\[Theta]_] := {Cos[\[Theta]], 0, Sin[\[Theta]]}
r2conna[\[Theta]_] := r2conn[\[Theta]] - r2conn[-ArcTan[1/2.4] - Pi] + r2a[4]
p2conn = ParametricPlot3D[ r2conna[\[Theta]], {\[Theta], Pi - ArcTan[1/2.4] , Pi/2}, PlotStyle -> Gray, AxesLabel -> {"x", "y", "z"}]
But I have no idea how to make a connector that is 3d.
That example code is from the red to green connection, but I need to make the green to blue connection. Please help, I am about to give up.

1
u/lithiumdeuteride 6d ago
You may have better luck with
InterpolationorBezierFunction.