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

Lines #64

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Lines #64

wants to merge 1 commit into from

Conversation

rossjrw
Copy link
Owner

@rossjrw rossjrw commented Nov 29, 2020

Lines are a necessary visual feature for the minimum viable product.

The way I'm seeing it right now is that each letter declares a bunch of sites. A line is drawn from a given site that can connect to another site so long as they both match each other's conditions; otherwise, it just extends to the edge of the circle.

A site nominally consists of a point and a preferred angle, but it's actually not so simple as that. A site can be drawn on any letter at any valid angle, so the site will be more like this:

  • The centre point of the letter
  • The radius of the letter
  • The range of angles for which the site's point can be placed on the letter
  • The range of angles for which the site is valid on that point (just 90 deg initially)
  • The angular range in which another site on this letter cannot appear

@rossjrw rossjrw added feature Add a new feature essential This is required for the minimum viable product labels Nov 29, 2020
@rossjrw
Copy link
Owner Author

rossjrw commented Nov 29, 2020

I want lines to avoid things, right?

There's going to be two kinds of lines, straight and curved. Curved lines (#5) are a way off, so I'm just thinking about straight lines for now.

A stright line running tangent to or even anywhere near another object in the drawing is going to look shit. It'd be nice to be able to adjust the angle to minimise this.

That's if I even want to be able to adjust the angle of straight lines. Maybe straight lines should just come as they are.

But shouldn't there be some possibility of a straight line connecting to another?

I will need to make sure that a letter that produces multiple straight lines never crosses over itself. Perhaps the angle of any line cannot be greater than the angle of the line to its left if any, nor lesser than the angle of the line to its right if any, or something like that.

It'll probably be easier to start with dots.

@rossjrw rossjrw mentioned this pull request Feb 5, 2021
2 tasks
@rossjrw rossjrw mentioned this pull request Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
essential This is required for the minimum viable product feature Add a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant