Skip to content

Conversation

BenKirkels
Copy link
Contributor

Overview: What does this pull request change?

The following rate function now make use of the unit_interval decorator to handle t < 0 and t > 1:

  • smoothstep
  • smootherstep
  • smoothererstep

Motivation and Explanation: Why and how do your changes improve the library?

This change makes the implementations of all rate functions consistent.

Links to added or changed documentation pages

Further Information and Comments

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

@JasonGrace2282 JasonGrace2282 enabled auto-merge (squash) February 9, 2025 16:59
@JasonGrace2282 JasonGrace2282 added this to the v0.19.1 milestone Feb 9, 2025
@JasonGrace2282 JasonGrace2282 added the maintenance refactoring, typos, removing clutter/dead code, and other code quality improvements label Feb 9, 2025
@JasonGrace2282 JasonGrace2282 merged commit d85ddb0 into ManimCommunity:main Feb 9, 2025
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance refactoring, typos, removing clutter/dead code, and other code quality improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants