Skip to main content

New and aesthetically pleasing GUI library (新型美观GUI库)

Project description

Suzaku 朱雀

Advanced UI module based on skia-python, pyopengl and glfw.

基于skia-pythonpyopenglglfw高级界面库。

Still under developing... / 正在抓紧制作中...

Evaluate out current achievements by downloading this project whilt it is still under development.

您可以下载正在开发的版本来进行评估。


Basic Example / 简单示例

v0.0.1a1.png (This image is stored on external site. If failed to load then check the URL.)

from suzaku import *

app = SkApp()
window = SkWindow()
btn = SkButton(window, text="Hello World")
btn.place(10, 10)
app.run()

How it Works / 原理

Basic Pricinples / 基础原理

SkApp manages all SkWindow objects. We may consider each of the visible elements and ocmponents as a SkVisual in SkWindow.

SkApp管理着所有的SkWindow。我们将每一个可视化的元素&组件视为一个个的SkVisual,居于SkWindow中。

A number of properties are owned by SkVisual, telling SkWindow how it should be drawn. SkVisual components are added to the window viaSkWindow.add_draw(), then be drawn by SkWindow.draw().

SkVisual具有一个个属性,告诉SkWindow自己该如何被绘制,用SkWindow.add_draw()将自己的绘制方式加入进去,然后在SkWindow.draw()中被一个个的绘制在画布上。

Layout / 布局

Under construction / 正在开发

Naming / 取名

Suzaku is one of the four mythical beasts in ancient China. Sounds cool isn't it?

suzaku是朱雀的意思,朱雀是中国古代的四大神兽之一。取这名呢感觉很霸气,先占个名先。

Plans / 计划

svg in Canvas module will be used to draw shapes.

我将会使用跨平台的Canvas库,用svg来绘制图形。

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

suzaku-0.0.1a5.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

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

suzaku-0.0.1a5-py3-none-any.whl (5.6 MB view details)

Uploaded Python 3

File details

Details for the file suzaku-0.0.1a5.tar.gz.

File metadata

  • Download URL: suzaku-0.0.1a5.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Windows/11

File hashes

Hashes for suzaku-0.0.1a5.tar.gz
Algorithm Hash digest
SHA256 f0053588989f3355de05d83ea3f3432b9758bc8164b9e0f0ad373416fa417bb6
MD5 48fe08b0d3ed1287f0e2fdd36a0770e4
BLAKE2b-256 f21d573947c4c8f4e240621fcba6f890813ee4f79b1440e54ebb2d03d1923c7b

See more details on using hashes here.

File details

Details for the file suzaku-0.0.1a5-py3-none-any.whl.

File metadata

  • Download URL: suzaku-0.0.1a5-py3-none-any.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Windows/11

File hashes

Hashes for suzaku-0.0.1a5-py3-none-any.whl
Algorithm Hash digest
SHA256 cd66d6b5acd3f4f4109db0f83375c271e67e291799daddf3a6305aacc4561e13
MD5 f5d9efe8732908f2dc49bc4db5d0c85a
BLAKE2b-256 9db7358317955afaffb0f74f60ea4cc0c703017d8f3b99b3c8f2886515d27fed

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