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

Remove reliance on getImageData in scatterplot #145

Open
JobLeonard opened this issue Jan 29, 2018 · 0 comments
Open

Remove reliance on getImageData in scatterplot #145

JobLeonard opened this issue Jan 29, 2018 · 0 comments

Comments

@JobLeonard
Copy link
Contributor

JobLeonard commented Jan 29, 2018

Due to the practice of canvas fingerprinting, getImageData is considered a security risk these days.

Currently, we use getImageData to extract raw image data from generated sprites, for fast plotting in the scatterplot code. This is going to be problematic in the future, as some browsers have decided to blacklist this function due to Canvas Fingerprinting abuse, and there are already extensions used by privacy-minded people that do the same.

Of course, this would require coding up a full software sprite generator. I actually have the know-how required to do that (luckily our shapes are very simple; I basically just need to support Bresenham Lines, Bresenham Circles and flood fill), but it's a pain and might take quite some time to implement, so this is low-priority for know

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