CesiumGS / CesiumGS/cesium

Tween roadmap

Open
#1,830 0 comments 0 reactions 0 assignees View on GitHub
type - roadmap
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Common things like mousing over a billboard to animate its size/scale should be robust and trivial, e.g., not like 590a17f9e57d97ca69e2af039c54b79dd68d5179.
- [ ] Use Tween.js only for its easing functions. This will give us more flexibility with little added complexity.
- [ ] Allow `startValue`/`startObject` and friends to deeply tween their properties, e.g., so they can tween a Cesium `Color` property. (Related to above).
- [ ] `TweenCollection` `add` functions should take an optional `primitive` property so tweens can check if a primitive was destroyed and remove themselves.
- [ ] Use events instead of callbacks?
- [ ] Ability to create tweens in callbacks, ([#1831 comment](https://github.com/AnalyticalGraphicsInc/cesium/pull/1831#issuecomment-46873220)).

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the TweenCollection add functions and the existing Tween.js usage, then inspect the referenced commit 590a17f9e57d97ca69e2af039c54b79dd68d5179 and the discussion in #1831. The work is complete only when the roadmap items have defined, implemented behavior for easing, deep property tweening, destroyed primitives, events, and callback-created tweens.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.