Wish: rethink tools : store x,y,timestamp,pressure,tilt to replay "gestures"

Bug #787259 reported by v1nce
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Wishlist
Unassigned

Bug Description

In gimp you can replay gestures by using paths : you draw some paths and then you can repaint them using different brushes.
I want to do the same (or better) in inkscape.

After I draw a calligraphic curve I often change my mind and wish I could made it freehand or smooth it but when it's drawn it's over, you can't get back to the gesture and repaint it with new options (new width, different fuzzyness)

I think the gesture + actual shape should be an object (like a rect) that could be turned into a classic path (if needed) when you're done (to free up memory)

The gesture data would be an array of x,y,timestamp,pressure,tilt sampled every 25th of second (repeated x,y will be discarded) that could be stored in a format like Graffiti markup language (directly in the svg using cdata)
see http://000000book.com/activity
or http://svg-wow.org/blog/2010/09/06/graffitis/ to run a demo

<g inkscape:gesture="true">
 <!-- by convention the group contains the actual shape then the gesture data -->
 <g id="actual_shape">...</g>
<![CDATA[

 {"image_file_size":"unknown","updated-at":"Tue May 24 2011 01:01:39 GMT+0200","gml_application":"svg-wow","title":"SVG Wow recording","gml":{"tag":{"header":{"client":{"name":"Graffiti Recorder 1.0, svg-wow.org","username":"anonymous","version":"1.0","keywords":null}},"environment":{"up":{"x":0,"y":1,"z":0}},"drawing":{"stroke":[{"pt":[{"x":113,"y":229,"z":0,"time":0},{"x":112,"y":221,"z":0,"time":0.027,"pressure":0.5,"tilt":0},
...
]]>

 </g>
</g>

the gml could then be processed by LPE or external scripts

Tags: calligraphy
su_v (suv-lp)
tags: added: calligraphy
Changed in inkscape:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.