Skip to content
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

Syntax for an arc #91

Open
jo-so opened this issue Jan 29, 2022 · 2 comments
Open

Syntax for an arc #91

jo-so opened this issue Jan 29, 2022 · 2 comments
Labels

Comments

@jo-so
Copy link

jo-so commented Jan 29, 2022

Would it be possible to extend the syntax to draw an arc?

        +
       / \            "This would draw a sharp corner"
      /   v

        .
       / \            "This would dar an arc (a dot at the point where edges meet)"
      /   v

        .-.
       /   \          "This is the current way to draw something like an arc"
      /     v

test

@ivanceras
Copy link
Owner

I think this behavior is better, so I don't have to put a special behavior when the dot is surrounded by the slanted lines

  \ /
   .
  / \

It it was configured to do arcs, then this scenario would be a mesh.

@jo-so
Copy link
Author

jo-so commented Feb 17, 2022

But at least in version 0.6.2 it's not a mesh.

  \ /    \ /   \ /   \ /   \ /    \ /   \ /
   .      +     '     ,     `      -     _
  / \    / \   / \   / \   / \    / \   / \
   "."    "+"   "'"   ","   "`"    "-"   "_"

  \ /   \ /   \ /
   o     O     *
  / \   / \   / \
   "o"   "O"   "*"

img

These are the test cases for the perpendicular case:

      |          |          |          |          |          |          |
      |          |          |          |          |          |          |
  ----.----  ----+----  ----'----  ----,----  ----`----  ---------  ----_----
      |          |          |          |          |          |          |
      |          |          |          |          |          |          |
      "."        "+"        "'"        ","        "`"        "-"        "_"


      |          |          |
      |          |          |
  ----o----  ----O----  ----*----
      |          |          |
      |          |          |
      "o"        "O"        "*"

img

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants