dev-master
9999999-devGenerates Heatmaps.
MIT
The Requires
- php >=5.3.3
- symfony/framework-bundle ~2.1
image heatmap visual
Generates Heatmaps.
This Symfony2 bundle provides basic heatmap generation., (*1)
It consists of several parts * The Service - generates the Heatmap Object * Renderer - provide different value map to image transformations * Spot - maps a peak on the value map. * Heatmap - the heatmap object does all the hard work., (*2)
"morgenstille/visual-heatmap-bundle": "master"
to your composer.json.If you want the demos update your routing.yml, (*3)
morgenstille_visual_heatmap: resource: "@MorgenstilleVisualHeatmapBundle/Controller/" type: annotation prefix: /, (*4)
$heatmap = $this->get('morgenstille.visual.heatmap')->create($width, $height);
.$heatmap->add(new SpotInterpolate($x, $y, $radius, $intensity));
$heatmap->renderPngResponse(new TransparentRenderer($heatmap->getMinValue(), $heatmap->getMaxValue()));
Look at the demo controller [https://github.com/joemoe/visual-heatmap/blob/master/Controller/DemoController.php], (*5)
Generates Heatmaps.
MIT
image heatmap visual