Skip to main content

Customizable Optimized Easing Functions for Python

Project description

Easings

Description

Customizable Optimized Easing Functions for Python.

Installation

pip install easings

Usage

Ease values between 0 and 1:

import easings

progress = easings.back_in_out(
    progress = 0.5,
    bounce_const = easings.both_back_consts[0.1]
)

print(progress)

Easing values with a start and end value using an Easer

import easings

easer = easings.Easer(4, 12)

value = easer.value(easings.poly_in_out, 0.5, 2)

print(value)

License

CC0 1.0 Universal (CC0 1.0) Public Domain Dedication.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easings-3.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easings-3.0.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file easings-3.0.0.tar.gz.

File metadata

  • Download URL: easings-3.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for easings-3.0.0.tar.gz
Algorithm Hash digest
SHA256 8bcb1315ad7af1465e65f0558b19bff4c75a5500d534510890ec66059bd64f8c
MD5 1bffad8242191206efe4a46b051faf15
BLAKE2b-256 192f3be9c74488e958ed402672d8f3919a5af6924446a4d20f6c2717b67c7727

See more details on using hashes here.

File details

Details for the file easings-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: easings-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for easings-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7515a7f42c094d01b9e7bde89adf7083ea8c2f30c54cde22e6b888b16c4c196e
MD5 965d854c0a08d8d382704e027427fe9f
BLAKE2b-256 05c3911820f6306b0696dadcebb3d05ea05883c02254e8b7d62dec7c4f137569

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page