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.EaseBack.ease_in_out(
    progress = 0.5,
    bounce_const = easings.EaseBack.in_out_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.EasePoly.ease_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-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

easings-1.0.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for easings-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a2d916248c303c1c7def1c243a47a4431ff327d86c919785a2a72be6b847121a
MD5 f67c52afd8ef2f3250b105d44ad023f5
BLAKE2b-256 b0ddace92d8449282faf3d804e67a397f2d549f1afaa638471a64f5954f70c81

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for easings-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b963a090930a9d2b6282e550c35431ea450372074b4cab154f3dea422aa8d5c7
MD5 b2efe6bf2423d6af8b464d83918a34d8
BLAKE2b-256 eee799b37f7cec7c482c0a5911a09f975956eae6cd2aed02412cd06ede39053f

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