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

Improve the canvas render loop. #29

Closed
erbriones opened this issue Sep 30, 2013 · 1 comment
Closed

Improve the canvas render loop. #29

erbriones opened this issue Sep 30, 2013 · 1 comment
Assignees

Comments

@erbriones
Copy link
Contributor

The current render loop iterates over all points sent to the client side. The rendering is triggered whenever the canvas is zoomed or panned. Additionally, the rendering is performed in a nonblocking manner. A suggest method to improve the performance would be implementing a Quad tree.

@ghost ghost assigned erbriones Sep 30, 2013
@erbriones
Copy link
Contributor Author

A first attempt is a two level binning algorithm decided on 9/26/2013. The canvas is split into vertical bins then subdivided into horizontal bins. The algorithm will then render the bins as a single point when the pixel density of the objects in the bins renders to the same pixel. Otherwise, the contents of the bin will be rendered.

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

No branches or pull requests

1 participant