halb3 / halb3/math

Add camera animation capabilities (anime.js)

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Interface for capturing, serializing, and replaying camera settings.
- [ ] manually capture keyframes with camera eye, center, fov
- [ ] automaticall capture keyframes ...
- [ ] specify replay by means of duration between frames, ease-in/ease-out functions, interpolation method, etc.
- [ ] passive replay by querying interpolated data for certain point in time or position in-between

As originally intended in [webgl-operate](https://github.com/cginternals/webgl-operate/issues/176) we could generalize this interface to a `DataCapture` and `DataReplay` class... but perhaps we could rely on [anime.js](https://animejs.com/) instead.

Inspiration:
- https://www.youtube.com/watch?v=UIwdCN4dV6w
- https://www.youtube.com/watch?v=lX6JcybgDFo
- https://youtu.be/TI4PXFUOPR8?t=55 (bis 1:05)

@lukaswagner - you have the most experience here so far. Please feel free to comment on or refine this issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.