Skip to main content

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, aggdraw may require build tools if a prebuilt wheel isn’t available.
  • The library exposes convenience creators like create_hexagon_grid and create_parallel_lines, as well as lower-level draw_* functions that render into an existing aggdraw.Draw context.

Metadata

Release files for lambdawaker-draw-pattern 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lambdawaker-draw-pattern 0.1.2
File Size Uploaded
lambdawaker_draw_pattern-0.1.2.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lambdawaker-draw-pattern 0.1.2
File Interpreter ABI Platform
lambdawaker_draw_pattern-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 35.1 kB

Release files / lambdawaker_draw_pattern-0.1.2.tar.gz

Download URL lambdawaker_draw_pattern-0.1.2.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e69a939235889c9c678ccfe5b6822a939d936754e91e7634d75e2ac21ad4f076
BLAKE2b-256 checksum
How to use checksums
52fffb6f5d9109371ff89589e6f51fda217baaaed28b10adbab31b7624115a87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / lambdawaker_draw_pattern-0.1.2-py3-none-any.whl

Download URL lambdawaker_draw_pattern-0.1.2-py3-none-any.whl
Size 21.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06ebec72a04445fefa1c70a1d8f90d42e9516271b301fc1f1d2bb8acd68f37d4
BLAKE2b-256 checksum
How to use checksums
f50577479f9cb26ae0bd9f15059afbd50353bf89b0d62c01c3fb24c68014c6c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page