How to use canvas to make the feeling of lens movement

first take a look at the reference example: press F12 to view the example after opening a mobile phone or computer browser

does it seem to zoom out or enlarge the canvas, and then pan?
but I can"t do that when I actually write it.
wants to know what the principle is?
don"t use the frame to write, just do the effect like panning or moving forward.

Aug.09,2021

webGL move camera position


can I write these frames without three?

Menu