Skip to main content

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.

screenshot
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ksbanim-1.0.1.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

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

ksbanim-1.0.1-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

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

Hashes for ksbanim-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7aa305bce51b4509116114670c0e595aa4a86771b70a95691971a7d35c99a590
MD5 507243870907b11c1e49898b6e338567
BLAKE2b-256 a6a81e0f5ab242269de55807840e72567038b981481684360996572347707bec

See more details on using hashes here.

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

Hashes for ksbanim-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9d97a665c12837d8f3cf96ccf07ef211b01ebc687f99ec185c5104364803e1c
MD5 d826ae8109e28647deb8865b1806ec0f
BLAKE2b-256 068385a0c5aa6c47e8167c6d9f3df7a750a0be1ef1a1c8efc99d87c322d2a6b9

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