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.3.tar.gz (15.9 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.3-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mglyph-0.5.3.tar.gz
Algorithm Hash digest
SHA256 870aba8695b32438f7272589ea12b44d52e39463a9a060923757f2b38d541de4
MD5 a2c23a3f0a71f5132a41c00a41c55c02
BLAKE2b-256 aa61513559882b5cf9177ec5fc47fa336aa1f4808edb06edb99526edd420ed9e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mglyph-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 98db54b7b07cd7692e2527cc415829a1ebba22dd9dd3d9a5373896f29c09a1a8
MD5 21f6b2d70653a23f7d6b6e920f57e4c8
BLAKE2b-256 f3a26f0b2ad0cbbc4d12b5c35470324b1dcc44868d7792cd8b532d9d1e512668

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