How to create a custom automatic camera movement

I have a scene where initially when the website loads, the camera is at the center. I want to animate this camera from bottom to top up in like in the shape of the letter ‘C’ but from the front. I have attached a video below for reference on how I want to do it.

I tried getting all the coordinates in a JSON file and then iterating through it but that just seems not a good approach and is also slowing the movement because the array size is like 700 and then looping through each of the coordinates then tweening seems not a good approach. How do i custom create an automatic movement like this whenever a user scrolls down once, this camera movement happens

Maybe something will help you?

From the Collection of examples from discourse.threejs.org

TweenCamera
SmoothChaseCamera
MovingCameraAlongSpline
CameraEllipseCurve
CameraGSAP
CameraFollowObject
TurningTowardsCamera

2 Likes