A module for animation using PyQt5, OpenGL, and imageio[ffmpeg]
Project description
ksbanim
The python module ksbanim supports the drawing of primitive shapes and UI elements. Through its simple design, students can learn the basic principles of programming.
Features
- position and rotate primitive shapes
- draw circles, ellipses, rectangles, triangles and more
- draw buttons, labels, text inputs and more
- manage keyboard and mouse input
- animate shape transitions
Installation
A working installation of python3 and pip is necessary. So go and install python first.
In the explorer view, use the three buttons at the bottom left (KSBANIM) to install the necessary dependencies.
- download python extension for VSC
- download PyQt5 and imageio[ffmpeg] (is getting installed via pip)
- download ksbanim.py (to the active working directory)
Usage Example
from ksbanim import *
createWindow()
setPos(500,500)
setRot(45)
drawCircle(100)
run()
GitHub Documentation
You can view the documentation here.
Contributing
If you have any questions, feel free to ask via Q&A.
License
GPL-3.0
The graphics is based on PyQt5. ksbanim is free software for educational purposes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ksbanim-1.0.1.tar.gz.
File metadata
- Download URL: ksbanim-1.0.1.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7aa305bce51b4509116114670c0e595aa4a86771b70a95691971a7d35c99a590
|
|
| MD5 |
507243870907b11c1e49898b6e338567
|
|
| BLAKE2b-256 |
a6a81e0f5ab242269de55807840e72567038b981481684360996572347707bec
|
File details
Details for the file ksbanim-1.0.1-py3-none-any.whl.
File metadata
- Download URL: ksbanim-1.0.1-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9d97a665c12837d8f3cf96ccf07ef211b01ebc687f99ec185c5104364803e1c
|
|
| MD5 |
d826ae8109e28647deb8865b1806ec0f
|
|
| BLAKE2b-256 |
068385a0c5aa6c47e8167c6d9f3df7a750a0be1ef1a1c8efc99d87c322d2a6b9
|