heatmap

package
v0.0.0-...-a84b5dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package heatmap generates heatmaps for map overlays.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Heatmap

func Heatmap(size image.Rectangle, points []image.Point, limits image.Rectangle, dotSize int, opacity uint8,
	scheme []color.Color,
) *image.RGBA

Heatmap draws a heatmap.

size is the size of the image to create dotSize is the impact size of each point on the output opacity is the alpha value (0-255) of the impact of the image overlay scheme is the color palette to choose from the overlay.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL