Skip to main content

A module for animation based on PyQt5 and OpenGL

Project description

ksbanim

The python package 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

Dependencies

A working installation of python3 and pip is necessary. So go and install python first.

Based on OpenGL, PyQt5 and imageio

Usage Example

from ksbanim import *

setPos(500,500)

setRot(45)

drawCircle(100)

GitHub Documentation

You can view the documentation here.

Contributing

If you have any questions, feel free to ask via Q&A.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ksbanim-1.2.17.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for ksbanim-1.2.17.tar.gz
Algorithm Hash digest
SHA256 89b7a4952b9154d395b70c4360fbceac6be932a2623b6f60abeb0fdee4769aa0
MD5 955347c3c48731042c85872ca570f032
BLAKE2b-256 4763f3b987c868c1760c44071c1d98b5062a9246072607e0742f03ed9793703c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ksbanim-1.2.17-py3-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for ksbanim-1.2.17-py3-none-any.whl
Algorithm Hash digest
SHA256 2a216d37ba34c41e8d6eb99efd044a282bfd20f736e6ba4f27048efbbc9f5085
MD5 a90998d4b79f5abd732102eef790041e
BLAKE2b-256 8d1e42944dd1b8d389493b6ae72b546609f31cdcea88b53aaf36b617922886b7

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