deforum / deforum/deforum-stable-diffusion
Formulas working in opposite direction to Keyframe values.
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 412
- PR merge metrics
- No merged PRs in 30d
Description
I was just testing the fixed formula update in the dev branch and noticed formulas are working in the opposite direction to the keyframes, this is the formula I was using.
0: ((-2.8 * sin((120 / 120 * 3.141 * t / 24 + 192))**1 + 0))
It should start by zooming away from the camera when I input the keyframes for this formula it works as expected but the formula starts by moving towards the camera.
Just tried the Trans X, Y and it works correctly in there.
So Trans Z and Rot Z both work in the opposite direction when using formulas as opposed to keyframes.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the formula handling for Trans Z and Rot Z, then compare its direction to the keyframe behavior described in the issue. Use the supplied formula and compare it with the working Trans X and Y cases. Done means formula-driven Trans Z and Rot Z move in the same direction as their keyframes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100