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

how should alpha work for self intersecting lines #2

Open
rroohhh opened this issue Apr 13, 2019 · 0 comments
Open

how should alpha work for self intersecting lines #2

rroohhh opened this issue Apr 13, 2019 · 0 comments

Comments

@rroohhh
Copy link
Owner

rroohhh commented Apr 13, 2019

There are two main possibilities

  1. alpha of self intersecting lines is a no op, if a line self intersects the intersection has the same alpha at the whole line
  2. it works like "real" pen / pencil and the intersection accumulates alpha

The first option is vastly more easy to implement and even if one implements the second option it is probably never as fast as the first option.
However the second option is a lot nicer for real drawing stuff, probably not so important for note taking.

I guess having the choice between the two would be nice, however the first option will probably be implemented a lot earlier then the second option.

The first option is also how most other infinite canvas drawing programs handle this (atleast Milton and Mischief)

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

No branches or pull requests

1 participant