jo-pol / DiBL

Abandoned predecessor of GroundForge + gif based Flanders grounds.
http://jo-pol.github.io/DiBL/
2 stars 2 forks source link

implement thread versions of the dynamic diagrams #25

Closed jo-pol closed 8 years ago

jo-pol commented 9 years ago

So far only pair diagrams can be generated from predefined matrices. We need also thread diagrams for real added value over the template based diagrams.

The generated D3-data (just before conversion to a raw-js object) can be input for an algorithm that generates pair diagrams. Strip all properties but the source/target of links, and the title of nodes. Some mapping from node-title to predefined snippets per stitch for thread stitches might help to replace the nodes in the pair diagram. The file sample.js contains an example snippet for ptcptc, note that no stitch has two pins, they sit there to demonstrate the behaviour of pins. Do not connect this example (with substituted node numbers) by merging nodes but by merging links. The merged link starts at the source of the bobbin-link and ends at the target of the start-link as illustrated with the double links in the image below. replacing-nodes

jo-pol commented 8 years ago

partly done, new issues are created for follow up

jo-pol commented 8 years ago

This issue was moved to jo-pol/dibl-tensioned#25