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.18.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.18-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ksbanim-1.2.18.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.18.tar.gz
Algorithm Hash digest
SHA256 9c98350a3b39cf30e3ebcbe2946f4e0ae3286d83660b56714c7135f807e87dfb
MD5 38b1ac24ed532ef24f42e11a1054154f
BLAKE2b-256 196cb4ec8442eeec712b7516d249f6bdc932c9461575c4f30476ea94890c41ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ksbanim-1.2.18-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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 91e6435924c2be37944695385c6c49164e1f528d93af7632d5801887bf9cca84
MD5 f9c938ee651eee47cd4ae427ef1a370c
BLAKE2b-256 91ee6fb1a580980ea4b40593564138d95b332a4a938d20e969036e200205d235

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