Skip to main content

Automatically animates changes in widget positions

Project description

PosAni

logo.png

Automatically animates changes in widget positions.

Youtube

Installation

Pin the minor version.

poetry add kivy-garden-posani@~0.3
pip install "kivy-garden-posani>=0.3,<0.4"

Usage

from kivy_garden import posani

posani.activate(widget)

Install if you prefer not to manually activate each individual widget. All the widgets created after the installation will be automatically "activated".

posani.install()

To install on a specific type of widgets:

posani.install(target="WidgetClassName")

Q&A

Why is it implemented through a widget's canvas rather than just updating the widget's position?

Many layouts, such as BoxLayout and GridLayout, constrain the positions of their children, so moving a widget to an arbitrary position isn't always possible.

Why does it not animate widget sizes?

It used to until version 0.1.x but this feature was dropped in version 0.2.0. The reason is that scaling a widget using kivy.graphics.Scale produces visually unappealing results.

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

kivy_garden_posani-0.3.2.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

kivy_garden_posani-0.3.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file kivy_garden_posani-0.3.2.tar.gz.

File metadata

  • Download URL: kivy_garden_posani-0.3.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kivy_garden_posani-0.3.2.tar.gz
Algorithm Hash digest
SHA256 d4a6915644190e32ce2763ca55444c0c022eddde6af1a6e366fd7e753879043f
MD5 d32dd901dbf8088985fe6fcc5cedc6f5
BLAKE2b-256 a21c029f3e26cc5796dcf2fd73fc89e1584127ef289281f7b16bc71b3b333729

See more details on using hashes here.

Provenance

The following attestation bundles were made for kivy_garden_posani-0.3.2.tar.gz:

Publisher: release.yml on gottadiveintopython/posani

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kivy_garden_posani-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for kivy_garden_posani-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 91a7fe61407cf241f9400461b767d7d4563f60c8102f4f3b9f367b9ffb7cc42a
MD5 ae82b4ba0168eb8945abe94621b38c33
BLAKE2b-256 b5ee0b3c9551cfcc6579335525f54d6676f275e563e2f18384254fc7290edcdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for kivy_garden_posani-0.3.2-py3-none-any.whl:

Publisher: release.yml on gottadiveintopython/posani

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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