-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Color Code #49
Comments
I noticed the following: url (Not sure if I add the link the correct way) Matrix -5-5; 5-5- bricks. For all of the following stitches: B,D: green expected, A,C: red expected So, the twists that are already there are not taken into account in the desicion for the color. |
Thanks for your report. Fixed your link, you swapped the components. You can switch between write and preview to check. |
"as I would make it in the lace: tctct" The open method always end with a cross, the closed method always starts with a cross, this way you are mixing two methods. The color coding algorithm doesn't "look" at the diagram for the colors, just at the stitch definitions. The current logic (after translating each if (stitch.endsWith("clrclrc") || stitch.contains("p")) ""
else if (stitch.endsWith("lrclrc")) "red"
else if (stitch.endsWith("clrc")) "purple"
else if (stitch.endsWith("lrc")) "green"
else if (stitch.startsWith("clrclrc")) ""
else if (stitch.startsWith("clrclr")) "red"
else if (stitch.startsWith("clrc")) "purple"
else if (stitch.startsWith("clr")) "green"
else "" For the twist mark the algorithm actually counts the number of consecutive twists. If more than one, it renders a twist mark, whatever the color of preceding or next twist. I'd like a broad discussion about the desired rules. We may have to choose for either the open or closed method and communicate that on the help page along with the rules that determine the colors. Of course in words that are more easily understood by non-programmers and non-mathematicians. |
"as I would make in the lace" The coloring works fine when placing the twitst at the stiches above (closed) or below (open) the whole stitch. No need here to choose for either method. Just the instruction: when changing from cloth to half or whole stitch: put the twists with the whole stitch (for the closed methode), or get black colors. I can live with that. Or, |
From the four options you give, the following two make sense to me:
The first as closed method, the second as open. When learning the basics you get |
See also https://www.mail-archive.com/[email protected]/msg51240.html |
To be complete: In "Slag voor slag" cttpctt is called "gesloten speldslag". I learned that this one is coloured brown, including the twitst at the end. (Though I am good with brown for turning stitch.) |
We can't apply the Belgian color code exactly. First of all we don't have gimps, picots nor tallies and pins are poorly supported. The official BCC would paint a plait just as So I'm thinking of the following rules:
|
Seeing you play with a lot of unorthodox stitches, you might want a stitch syntax like See also https://github.com/d-bl/GroundForge/wiki/Color-Code#tweak-colors |
The syntax would be nice, see issue #100. The color is a nice bonus. |
Still under construction: follow progress on #106 |
With #142 you will have a chance to make your own choices. But it needs a lot of water under the bridge. |
See #159 |
The program quickly gives up applying the Belgian Color Code. Pins get in the way of recognizing a tc, ctc, or tctc. The pin position in the sequence of characters for a stitch is chosen to look good in the diagrams and may be counter-intuitive and breaking rules.
The program also happily mixes the closed (ct) method with the open method (tc) and marks both with the same color.
proposal
Figure out about more colors and add a checkbox or radio button to choose between the open (tc) and closed (ct) method.The text was updated successfully, but these errors were encountered: