Skip to content

Easing function generators - #718

Open
trusktr wants to merge 3 commits into
mainfrom
easing-function-generators
Open

trusktr wants to merge 3 commits into
mainfrom
easing-function-generators

Conversation

@trusktr

@trusktr trusktr commented Sep 19, 2026

Copy link
Copy Markdown
Member

0xTHAC0 and others added 2 commits August 16, 2026 09:28
…nerateSteps

Adds three new configurable easing generators to complement the existing
generatePow, as requested in #507:

- generateBack(overshoot): Back easing with custom overshoot (default 1.70158)
- generateElastic(amplitude, period): Elastic easing with configurable
  amplitude and period
- generateSteps(steps): Discrete step easing for staircase animations

All generators return EasingFunctionGroup (In/Out/InOut) and satisfy the
standard edge-value contracts (f(0)=0, f(1)=1, InOut(0.5)=0.5).

Includes unit tests and updates the graphs example with visual demos.

Closes #507

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Add new easing function generators: generateBack, generateElastic, generateSteps
Copilot AI lite review requested due to automatic review settings September 19, 2026 00:53

This comment was marked as spam.

@trusktr

trusktr commented Sep 19, 2026

Copy link
Copy Markdown
Member Author

We'll bring

into here.

@trusktr
trusktr added this pull request to stack #719 September 19, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants