Skip to main content

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

This version

1.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysketch-1.2.tar.gz (13.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page