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

Use R-tree to optimise shapes to be redrawn #8

Open
tuanchauict opened this issue Jan 31, 2021 · 2 comments
Open

Use R-tree to optimise shapes to be redrawn #8

tuanchauict opened this issue Jan 31, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request P3 Nice to have

Comments

@tuanchauict
Copy link
Owner

Level 1: Only shapes within the window are redrawn
Level 2: Only shapes under updating rect are redrawn (old rect and new rect)

@tuanchauict
Copy link
Owner Author

Today showcase
1000 shapes + draw new
Frame rate: ~30fps

Untitled.2.mov

@tuanchauict tuanchauict self-assigned this Jan 31, 2021
@tuanchauict tuanchauict added the enhancement New feature or request label Jan 31, 2021
@tuanchauict tuanchauict added the P3 Nice to have label Feb 8, 2021
@tuanchauict
Copy link
Owner Author

Current approach: split the board into zones and reduce the number of search by zone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3 Nice to have
Projects
None yet
Development

No branches or pull requests

1 participant