WebGL Window
Project description
WebWindow
WebWindow is a lightweight window implementation for Python, developed primarily to support the ZenGL documentation, and it can be easily deployed with Pyodide or PyScript
Examples
See WebWindow in action: Live Examples
Usage
Add this line to the pyscript.toml
packages = ["zengl", "webwindow"]
import zengl
from webwindow import WebWindow
window = WebWindow(600, 400)
ctx = zengl.context()
@window.on_render
def render():
ctx.new_frame()
ctx.end_frame()
License
Licensed under the MIT License
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
webwindow-1.2.1.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file webwindow-1.2.1.tar.gz
.
File metadata
- Download URL: webwindow-1.2.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 305ceae3dcc0b4d3edb269e0dcbf6772de2012c66ddb2eada7d02b51f1ac08f0 |
|
MD5 | 1ad2f4d1b217b2a4a6bc8e704928ddae |
|
BLAKE2b-256 | d0cb7543f44b224c808fad2801e2a5da10f3ee11c8d64c2d26a33fbd5e517c88 |
File details
Details for the file webwindow-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: webwindow-1.2.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0379f86289f6ba86cb1b8295975dc5de8982ed562b2820e0aa39e3424f6ad810 |
|
MD5 | 26bb0f9b81cdf002faf9e31e3d4e5c37 |
|
BLAKE2b-256 | b4da919af14f2fba755c7e0a8cb65c5fece4889af667f967abb5cd0812e9da3a |