StrawberryPy
Graphical animation module.
How To Use
Basic elements
- Every animation needs an scene. You can declare a scene variable like this:
scene = strawberrypy.Scene2D((resX, resY), fps) - Next, append layers to the engine:
scene.AddLayer(layer)The layers will be rendered in order, with the first layer on the bottom. - Layers can be declared like this:
layer = strawberrypy.Layer() - Layers contain shapes, added like this:
layer.Add(strawberrypy.shapes.(some shape))
Avaliable shapes
- Polygon:
strawberrypy.shapes.Polygon(((vert1X, vert1Y), (vert2X, vert2Y)), (R, G, B), borderWidth) - Circle:
strawberrypy.shapes.Circle((centerX, centerY), radius, (R, G, B), borderWidth)
Metadata
Release files for strawberrypy 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| strawberrypy-0.0.5.tar.gz | 3.5 kB | Without provenance | Details for strawberrypy-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| strawberrypy-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for strawberrypy-0.0.5-py3-none-any.whl |
Total release size: 20.8 kB
Release files / strawberrypy-0.0.5.tar.gz
| Download URL | strawberrypy-0.0.5.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56f3a1b71953473c290f83f7eecaec5b3e9e6ab257bdc1776a83f64952dbfd59
|
|
BLAKE2b-256 checksum How to use checksums |
9311b902ea39dd45af021c1f6f192d30380c381d087971b4a48c9baa48df2340
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
|
Release files / strawberrypy-0.0.5-py3-none-any.whl
| Download URL | strawberrypy-0.0.5-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5525543511c4926a4e8a46b489025f98fb2b7925055664ddda2ac53346d7afe
|
|
BLAKE2b-256 checksum How to use checksums |
ce547478ac50db7d4d1e1256d3bf6d3e8a2d8d8d5c7370ede36c48456d179acd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
|
Security for strawberrypy 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.