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.0.tar.gz (2.0 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.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file ksbanim-1.0.0.tar.gz.

File metadata

  • Download URL: ksbanim-1.0.0.tar.gz
  • Upload date:
  • Size: 2.0 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.0.tar.gz
Algorithm Hash digest
SHA256 1a78f590f594ff4d73dd3ba74ea96e62fc490484835e6a23a0fe1a1677c70b91
MD5 f1b851469e1450648094ae320eb2dfbb
BLAKE2b-256 4c9a794cd0dae8d7640e916811de1ff511bbacd5444f088e6de023504cb912a6

See more details on using hashes here.

File details

Details for the file ksbanim-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ksbanim-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58540849d821ce438ba352f53c2979f5401ed9faf1d4b19827e23f633d83d6fe
MD5 bdc83e6cf78d84513887e43d01c03578
BLAKE2b-256 b79a069fac2d62d1056df2d80bf79e797cb25acef1f39a93c35ce0bdea32de27

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