osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Generating SVG from turtle graphics


Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:

> Ideally, I'd like to draw a figure pixel by pixel, and then have the SVG 
> library fit a bezier curve to it.

Uhm, dunno if it is a good approach, it really depends on the kind of
"figures" you are going to draw.

Anyway, in the past I used http://pyx.sourceforge.net/ to produce the images
for a book[1] on the Carrom game, and I enjoyed its simplicity.

ciao, lele.

[1] https://bitbucket.org/lele/cta
-- 
nickname: Lele Gaifax | Quando vivr? di quello che ho pensato ieri
real: Emanuele Gaifas | comincer? ad aver paura di chi mi copia.
lele at metapensiero.it  |                 -- Fortunato Depero, 1929.