Thanks Joan thats great. Got the first tool completed, attached here http://db.tt/OyqvTEuy if anyone wants a horse frame tool.
Nice
Oh, I see there is a problem in how the files are sorted for the menu… It should use alphanumeric sorting instead of alphabetic, so that tool 10 doesn't end up between tools 1 and 2.
A suggestion, what about a central store for forum members to upload their tools to and share developements with each other?
Stage 2 I suppose is how to make the data from these custom tools exportable, but I seem to remember reading your already working on that for a future version.
Here is my wildest dream:
- An online editor where you can visually create a custom tool with ease, using dragging and dropping, buttons, etc.
- You would be able to fork an existing tool, import a background image for ref, define constraints through comboboxes, etc.
- Once done, the tool could be saved as a draft in a personal space or published in a common repository.
- Then from within Kinovea, a special module would let you browse all the published tools, and import them directly.
There are several hurdles in the way, but so far I have JavaScript code loading a tool from its XML and drawing it as SVG objects in an HTML page (using raphaël.js library for creating SVG on the fly).
Not all aspects are dependant on each other though. If there is a common repository of user contributed tools, even if its populated manually, the importing mechanics in Kinovea can be worked out even before the HTML5 editor is finalized.