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

[Feature Request] Is infinite zoom in the scope of this project? #14

Open
MountainLabsYT opened this issue Jul 18, 2024 · 2 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@MountainLabsYT
Copy link

It would take some work, but I think this project would blow up, also I kinda want infinite zoom.

@Apostolique
Copy link
Owner

Yeah, that would be one of my biggest wishes for making the app feel truly boundless, I started thinking about it in the past weeks.

I think I'll need a setup where I divide the zoom space into zones on the exponential scale. Each zone would have it's own camera and spatial partitioning. This works well when zooming out since I can just not draw lines that are too small. I'm not yet sure how I'd handle lines that are too big. All the levels above would compound which isn't that efficient and probably have floating point issues for drawing.

Moving on the horizontal or vertical axis very far could be done similarly.

I'll have to experiment to see if this idea truly works.

Of course I'd want this new feature to be backward compatible with the old canvas saves but I don't think that will be a problem.

@Apostolique Apostolique added enhancement New feature or request help wanted Extra attention is needed labels Jul 18, 2024
@Apostolique Apostolique changed the title [Question] Is infinite zoom in the scope of this project? [Feature Request] Is infinite zoom in the scope of this project? Jul 18, 2024
@MountainLabsYT
Copy link
Author

MountainLabsYT commented Jul 18, 2024

Yeah, that would be one of my biggest wishes for making the app feel truly boundless, I started thinking about it in the past weeks.

I think I'll need a setup where I divide the zoom space into zones on the exponential scale. Each zone would have it's own camera and spatial partitioning. This works well when zooming out since I can just not draw lines that are too small. I'm not yet sure how I'd handle lines that are too big. All the levels above would compound which isn't that efficient and probably have floating point issues for drawing.

I think there will be some problem solving that goes into it lol, but I think your going to have to cheat a little.

Of course I'd want this new feature to be backward compatible with the old canvas saves but I don't think that will be a problem.

I wouldn't really recommend putting any real work into making it backwards compatible, to make it infinite you're going to have to make some really big changes, but if its easy, go ahead.

I think it would be awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants