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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ksbanim-1.2.20.tar.gz
  • Upload date:
  • Size: 35.5 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.20.tar.gz
Algorithm Hash digest
SHA256 cf743737f535464c23ac26e7159781ee246c87e16d3c277c95a2c70efd934613
MD5 92c0a23b38b4070a2735242fd5adc23b
BLAKE2b-256 bae1d3aff75062eb2da23268f182f1212f692dbcaac741f217d899a28c5b1ceb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ksbanim-1.2.20-py3-none-any.whl
  • Upload date:
  • Size: 35.7 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.20-py3-none-any.whl
Algorithm Hash digest
SHA256 d746ca7b76bf2810387df34d54a70d758f226cbf41fa8fb5a228e220243f6464
MD5 3474d9172a9356b29dc074e765050a92
BLAKE2b-256 e6ac652749180935049c894ea08914f65d5b2507648be08cd16d89fff27a1a08

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