simpleheat-gradient-opacity
This package is based on mourner's simpleheat but provides ability to set gradients with transparent values, fixing issue: minOpacity is actually minValue.
From mourner's simpleheat:
A super-tiny JavaScript library for drawing heatmaps with Canvas.
Inspired by heatmap.js, but with focus on simplicity and performance.
Powers Leaflet.heat, a heatmap plugin for Leaflet.
Demo: http://mourner.github.io/simpleheat/demo
simpleheat("canvas").data(data).draw();
Reference
Constructor
var heat = simpleheat(canvas);
Data
heat.data(data);
heat.max(max);
heat.add(point);
heat.clear();
Appearance
heat.radius(r, r2);
heat.gradient(grad);
heat.resize();
Rendering
heat.draw(minOpacity);