Skip to main content

The Malleable Glyph package

Project description

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

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

mglyph-0.5.4.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

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

mglyph-0.5.4-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file mglyph-0.5.4.tar.gz.

File metadata

  • Download URL: mglyph-0.5.4.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for mglyph-0.5.4.tar.gz
Algorithm Hash digest
SHA256 606c11e0f0cdaf8f5809fae977033a3be00369edbcacecfa9df5e3e2b4fb3f50
MD5 67ad133df986f6fd12faefd190202ef6
BLAKE2b-256 6d55071ce4c122e8b1b20814cc896de09d355cdda2383649f769d0edd7a24b63

See more details on using hashes here.

File details

Details for the file mglyph-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: mglyph-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for mglyph-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5cd4ab90ff3473153f541998eee85dead8f14b7c4c7e91de6476142f3c9ae3f7
MD5 f2ed2a61a43989aa27872b646f064a9c
BLAKE2b-256 10855a80e80c3f8f5abaaf7b830e4c5ecc2f518d04f429a6a634faa5af382f14

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