Cheers - will have a search around rigging/skeleton/degrees of freedom and see what I can find. (I think 'rigging' was the word I was looking for, although I want a simple 2d case and inthe case of ambiguity as to how the skeleton moves when I drag one of the joints, I do not care so much how this is resolved so long as it "feels" natural. I suppose one way to address the ambiguity alvinpenner mentioned would be to pick some (fairly arbitrary) direction along which "gravity" is applied. Which brings me back to a 2D physics engine, I think).
I am just trying to write an Inkscape extension for drawing crochet diagrams (!), and there is a use case where you might have a "string" of stitches laid out into some particular shape an you want to adjust this shape, keeping the string (and stitches) the same length and size - that is, each stitch has a fixed size an each stitch is connected to the stitch next to it. I had the idea of representing the pattern where the stitches are nodes along a path (that way not only do I get the shape all the stitches together should make, but the use of a path with nodes gives me the *order* the stitches are done in so that I can generate a word pattern from a diagram).
On 25 September 2013 03:13, Chris Tooley <euxneks@...155...> wrote:
I believe what is being described is similar to 3d model "rigging" - where you define a skeleton, angles of movement, and lengths of appendages, etc.
On Tue, Sep 24, 2013 at 9:27 AM, Arlo Barnes <arlo.barnes@...155...>wrote:
Depending on how you plan to apply this, it might be feasible to write a program in Javascript or Python or whatever to modify an SVG file on the fly based on some "physics" rules you make up - I think Maarten's email would be a good starting point for research. I have heard the word for this before, I just do not remember it. -Arlo James Barnes
October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clk... _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clk... _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user