https://github.com/controversial/ui2
Builds on Pythonista's UI module to provide extra functionality
https://github.com/controversial/ui2
Last synced: 12 months ago
JSON representation
Builds on Pythonista's UI module to provide extra functionality
- Host: GitHub
- URL: https://github.com/controversial/ui2
- Owner: controversial
- License: mit
- Created: 2016-05-26T19:51:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-13T18:34:58.000Z (almost 10 years ago)
- Last Synced: 2025-07-07T16:30:23.444Z (12 months ago)
- Language: Python
- Size: 72.3 KB
- Stars: 22
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ui2
Builds on Pythonista's UI module to provide extra functionality
## Features
Some of the most notable features of `ui2` are as follows:
- Transitioning between views
- Progress bars, which can take any shape representable with a `ui.Path`, including lines, circles, and rectangles
- An entirely new system for delays. This introduces a new system for tracking delays with IDs, and allows for multiple "delay managers" to make things less global.
- Classes for controlling animation, which include support for different easings, and chaining several animations to run on sequence.
- Functions for scaling and stretching `ui.Path` objects, as well as a convenience `ui2.PathView` class which displays a path auch that as the `PathView` changes size, it intelligently stretches its path to match.
`ui2` includes a `demo.py` script which makes it easy to view and run examples for each major feature of the module.
Lastly, `ui2` is expanding fast! Check back frequently for new features.
## Design goals
`ui2` aims to make it as easy as possible to swap out `ui` for `ui2` and begin adding features. It follows that one of the aims of `ui2` is to maintain compatibility with `ui`, so that switching to `ui2` won't break your existing code.