Draw simple notes and scribbles on a canvas
Project description
Basics
This tool can be used to “take notes” in the form of graphical scribbles, as you would paint them on a small piece of paper with a pencil, pen, Sharpie (tm), or similar. It doesn’t offer any special options by design. You get a canvas and can draw on it, with a fix-sized black pen…that’s it.
If you’re looking for the more fancy stuff, there are a ton of good drawing applications out there (gimp, inkscape, …). Go pick one of them, e.g. if you need special brush shapes with dynamics attached.
I try to keep pysketch as minimalistic as possible, such that I can concentrate on what I draw, instead of how I draw it.
Idea
Basic influences for the design and implementation of pysketch were: gsumi/xink and the “scribblesimple” example from the pygtk distribution.
Installing
For installing pysketch, you have to get root and then run the command
python setup.py install
Starting
After a successful installation, you can call pysketch from the command-line
pysketch
It supports a few parameters, that get listed with the -h option (or --help).
Draw with the left mouse button held down, the right button erases with a larger pen size. The two push buttons at the bottom of the main widget should be pretty self-explanatory. ;)
Requirements
Pysketch should run under any Python2.x, with having one of the
Tkinter
GTK2
pygobject
PyQt4
bindings installed.
TODOs and known problems
Tkinter mode: making the canvas larger, drawing, and then shrinking the window again, will lead to inconsistencies. The canvas items that are off-screen don’t get removed (no clipping), but the PIL image in the background won’t have those lines anymore.
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
File details
Details for the file pysketch-1.2.tar.gz
.
File metadata
- Download URL: pysketch-1.2.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4454648cd1d66bdf634dd5ebd1a67a5e8d152f0ce872965e379d3c823d9bd33a
|
|
MD5 |
fc132ba8790535216b74b6ccaa873abd
|
|
BLAKE2b-256 |
d84d95448bac35f9afeeeb1e25e539b114f8411eaf91c604ef7558ad7ea269c4
|