A minimalist, art-focused Python drawing library with object-oriented design
Project description
PyFreeform
Turn images and ideas into art with Python.
Install
pip install pyfreeform
Requires Python 3.10+.
Quick Start
from pyfreeform import Scene
scene = Scene.from_image("photo.jpg", grid_size=40)
for cell in scene.grid:
cell.add_dot(radius=cell.brightness * 0.4, color=cell.color)
scene.save("artwork.svg")
That's it — four lines from photo to SVG.
What Can You Make?
Color dots |
Filled Lissajous curves |
Flowing curves |
ASCII art |
Connected networks |
Multi-layer compositions |
Dots, lines, curves, polygons, text, ellipses, custom paths — all positioned relative to a grid of cells. Sizes are fractions of the cell, so your art scales to any resolution.
Learn More
Everything you need is in the docs:
- Getting Started — install and create your first artwork
- Guide — every feature, explained visually
- Recipes — portraits, patterns, typography, networks
- API Reference — complete reference
License
GPL-3.0 — see LICENSE for details.
Acknowledgments
Built on NumPy (BSD-3-Clause) and Pillow (MIT-CMU). See LICENSES/third_party/ for full texts.
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
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 pyfreeform-0.5.2.tar.gz.
File metadata
- Download URL: pyfreeform-0.5.2.tar.gz
- Upload date:
- Size: 3.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a59b9be040bc367fd0de3d629f3caac110e0bfb7e286407595ee213dbcc42f66
|
|
| MD5 |
c136eb0f93c325f668f1e08287c65e83
|
|
| BLAKE2b-256 |
2d2ff1d5be89a9a5e75c97f01dad5b37b167910d6b6fd325d2005765a2c29565
|
Provenance
The following attestation bundles were made for pyfreeform-0.5.2.tar.gz:
Publisher:
publish.yml on MatheweB/pyfreeform
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyfreeform-0.5.2.tar.gz -
Subject digest:
a59b9be040bc367fd0de3d629f3caac110e0bfb7e286407595ee213dbcc42f66 - Sigstore transparency entry: 1004500270
- Sigstore integration time:
-
Permalink:
MatheweB/pyfreeform@b30c0f0c69b965d130e0b0693e304f0005b82514 -
Branch / Tag:
refs/tags/v0.5.2 - Owner: https://github.com/MatheweB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b30c0f0c69b965d130e0b0693e304f0005b82514 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyfreeform-0.5.2-py3-none-any.whl.
File metadata
- Download URL: pyfreeform-0.5.2-py3-none-any.whl
- Upload date:
- Size: 137.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4fddf1c58dad462e1fb34274f32fbf5fb4408c9d415a416ded8be20748399cb
|
|
| MD5 |
3a64d645d698913217a9982dbc175d00
|
|
| BLAKE2b-256 |
a1bda71a39fa783a38d2cc50f6a0a7de0a0b6b81081d964796141450952cb345
|
Provenance
The following attestation bundles were made for pyfreeform-0.5.2-py3-none-any.whl:
Publisher:
publish.yml on MatheweB/pyfreeform
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyfreeform-0.5.2-py3-none-any.whl -
Subject digest:
b4fddf1c58dad462e1fb34274f32fbf5fb4408c9d415a416ded8be20748399cb - Sigstore transparency entry: 1004500272
- Sigstore integration time:
-
Permalink:
MatheweB/pyfreeform@b30c0f0c69b965d130e0b0693e304f0005b82514 -
Branch / Tag:
refs/tags/v0.5.2 - Owner: https://github.com/MatheweB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b30c0f0c69b965d130e0b0693e304f0005b82514 -
Trigger Event:
release
-
Statement type: