motiondivision / motiondivision/motion
[FEATURE] ability to offset from animate.at option
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 33.7k
- Forks
- 1.4k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 14
Description
Is your feature request related to a problem? Please describe.
I'm having an issue where I can't adjust timing around a label in animate., ie [[..anim1], 'label', [..anim2], [{...anim, at: '[label]-0.4'}]
Describe the solution you'd like
Support syntax for time offset on labels
something like: { at: '[<label>]+0.2' }
Describe alternatives you've considered
trying to do the math to figure out where the playhead should be which is very onerous
Additional context
I am trying to do some very intricate animations with staggered effects
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing animate.at handling and label timing from the animation entry points, using the issue's examples as the required syntax. Compare positive and negative offsets from labels; done means both forms resolve to the intended playhead times and are covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100