mourner / simpleheat

A tiny JavaScript library for drawing heatmaps with Canvas
http://mourner.github.io/simpleheat/demo
BSD 2-Clause "Simplified" License
928 stars 185 forks source link

Is it possible to select adjacent same color points #22

Closed tanmuhittin closed 7 years ago

tanmuhittin commented 7 years ago
  1. Draw the map using data
  2. Color values are changing between 0 and 1
  3. Pick a point on the map where there is not a sample
  4. Select the samples in the area where the color value is +-0.05 different than the selected point and adjacent Can we select them ?
mourner commented 7 years ago

I didn't really understand what you want to do, but it's probably not the responsibility of the library. You can get pixel data from the canvas though, and do your own logic for this.

tanmuhittin commented 7 years ago

thank you for the quick answer I will look for canvas solutions 👍