Drawing utilities for generating geometric patterns and grids using Pillow and aggdraw
Project description
lambda-draw-tools
Drawing utilities for generating geometric patterns, grids, and wave-based line art using Pillow and aggdraw.
Install
pip install lambda-draw-tools
Quick start
Hexagon grid
from lambdawaker.draw.grid.hexagon_grid import create_hexagon_grid
img = create_hexagon_grid(
width=600,
height=600,
hexagon_size=40,
thickness=2,
angle=0,
color="#4B0082",
bg_color=(255, 255, 255, 0),
)
img.show()
Angled parallel lines
from lambdawaker.draw.waves.parallel_lines import create_parallel_lines
img = create_parallel_lines(
width=800,
height=600,
spacing=24,
thickness=2,
angle=35,
color="midnightblue",
bg_color=(255, 255, 255, 0),
)
img.show()
Requirements
- Python 3.8+
- Pillow >= 9.0
- aggdraw >= 1.3.16.post1
Notes
- On some platforms,
aggdrawmay require build tools if a prebuilt wheel isn’t available. - The library exposes convenience creators like
create_hexagon_gridandcreate_parallel_lines, as well as lower-leveldraw_*functions that render into an existingaggdraw.Drawcontext.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lambdawaker_draw_pattern-0.1.1.tar.gz.
File metadata
- Download URL: lambdawaker_draw_pattern-0.1.1.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d15e7b540bd4e6488f3a38775d14997305577321ca5105f8030d636e93f688c
|
|
| MD5 |
70838c1bcc6cf8d301c104fe80a0a0ab
|
|
| BLAKE2b-256 |
0289a63acc727ca3b1960730037a01c0ca9d31d244f1423a3d68b5a5f4deaaf9
|
File details
Details for the file lambdawaker_draw_pattern-0.1.1-py3-none-any.whl.
File metadata
- Download URL: lambdawaker_draw_pattern-0.1.1-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61fa1544796e48a7bbac621b6974d49246ac8d3f864fbeb04b8eecb9cc5cf711
|
|
| MD5 |
e74041a369927e10fd7ad53ca53754ba
|
|
| BLAKE2b-256 |
9d782fd6f3863485aca041230dd44533909f27b3ba59c61b3fe9246ac008efab
|