# Camera Animation: Move camera on 3D curve

**URL:** <https://discourse.processing.org/t/camera-animation-move-camera-on-3d-curve/13623>\
**Category:** Gallery\
**Created:** [August 26, 2019, 3:47pm UTC](https://discourse.processing.org/t/camera-animation-move-camera-on-3d-curve/13623 "2019-08-26T15:47:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [August 26, 2019, 3:47pm UTC](https://discourse.processing.org/t/camera-animation-move-camera-on-3d-curve/13623/1 "2019-08-26T15:47:05Z")

</div>

Hello all,

when making a movie, I always wanted to go by the scene or object with a flying camera.

This would be cool for Animation.

I made a sketch now that features two different curves to animate the flying camera:

- one for camera position
- one for camera Look At.

Both beziers can be edited separately.

Then you can hit 0 or 9 to see the camera in action: it travels on one curve and looks to the point (same point number) on the other curve.

There are 3 edit view modes:

- from south (processing standard), here mouseX and mouseY apply to x,y
- from Top, here mouseX and mouseY apply to x,z
- from West, here mouseX and mouseY apply to z,y

You can edit the 2 bezier curves by drag and drop

- either 2 anchor points (boxes) on each curve
- or the 2 control points (spheres) on each curve.

You can

- load and save the 2 curves (use l and s)
- zoom in and out (right mouse button)
- read the help screen (h)

I hope this helps others to animate their scene or object with a camera animation that can be used with other sketches.

See [https://github.com/Kango/3DSketches/tree/master/camMover3Db](https://github.com/Kango/3DSketches/tree/master/camMover3Db)

Best, Chrisir

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [September 20, 2019, 3:10pm UTC](https://discourse.processing.org/t/camera-animation-move-camera-on-3d-curve/13623/2 "2019-09-20T15:10:33Z")

</div>

New version: [camMover3Dc](https://github.com/Kango/3DSketches/tree/master/camMover3Dc)

- Zoom and Pan
- Video recording (start and stop either manually or from beginning to end of curve)
- See help screen (hit **h** )

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [April 4, 2021, 6:01pm UTC](https://discourse.processing.org/t/camera-animation-move-camera-on-3d-curve/13623/3 "2021-04-04T18:01:46Z")

</div>

@Chrisir  
GOOD! project.
