Malleable Glyph is a small graphical design, fitting exactly to a square of 1in × 1in. It is "shaped" by a numerical parameter $x$ ranging from $0.0$ to $100.0$.
This is the mglyph library that offers an easy way how to design and preview malleable glyphs:
def simple_line(x: float, canvas:mg.Canvas) -> None:
canvas.line((mg.lerp(x, 0, -1), 0), (mg.lerp(x, 0, 1), 0),
width='50p', color='navy', linecap='round')
mg.show(simple_line)
To start with mglyph
- check out the tutorial (just download the Jupyter Notebook and run it, or explore the same one in Google Colab)
- see the library homepage at GitHub
- read the paper
Metadata
Release files for mglyph 0.5.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mglyph-0.5.5.tar.gz | 20.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mglyph-0.5.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.6 kB
Release files / mglyph-0.5.5.tar.gz
| Download URL | mglyph-0.5.5.tar.gz |
|---|---|
| Size | 20.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ab294f7e27294d9209164f957c493617af3903faa677642e4916fa5f9f7e498
|
|
BLAKE2b-256 checksum How to use checksums |
3b930410115eeb23bfdc9f50e9d909ddf384397a182cfb815c3a32209e76dcf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / mglyph-0.5.5-py3-none-any.whl
| Download URL | mglyph-0.5.5-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b382f84aaf2a58a60f66f438dc9589eaea009f9fcc931b1b16035290cf6ff65d
|
|
BLAKE2b-256 checksum How to use checksums |
0c059a3e49bbd9c99afda2b0b94d2e0f1dc883c0a29ffb8196a0a10e7a0661f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|