tweenjs / tweenjs/tween.js

Help add new easing functions

Open
#507 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature good first issue help wanted
Dominant language
TypeScript
Stars
10.1k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

We could always use more easing functions.

An easing function is single-variable function that maps values in the range [0, 1] to a numeric value. Generally, we require that f(0) = 0 and f(1) = 1, but otherwise there are no constraints.

If you want to help out feel free to submit a PR, and don't worry about code style. If you need help I can provide a template for your PR.

Tests aren't required for easing functions, but if you want to you can add the new easing function to the graphs example.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or specific function is named. Review the repository’s existing easing functions and the graphs example, then choose an easing function that maps [0, 1] to numeric values and satisfies the stated endpoint convention; adding it to the implementation is done when it follows the project’s existing function pattern.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.