ai / ai/easings.net

allow change of parameters for easing functions

Abierto
#189 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
CSS
Estrellas
8.7k
Forks
696
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

For most of the easing functions listed, some magic values are hardcoded into the formula, it would be cool to be able to configure them.
e.G: ``easeOutExpo``

``function easeOutExpo(x: number): number {
return x === 1 ? 1 : 1 - Math.pow(2, -10 * x);

}``
why especially the power of 2? why -10 * x as the exponent and not -7 or something? would be cool to be able to try around with those values a bit ;)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.