heatmap

command
v2.13.3 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 12 Imported by: 0

README

Creating a heatmap

This example shows how to create a heatmap from positions where players fired their weapons from.

ℹ Uses radar images from https://radar-overviews.csgo.saiko.tech/<map>/<crc>/radar.png - see https://github.com/saiko-tech/csgo-centrifuge for more info.

See heatmap.go for the source code.

Running the example

go run heatmap.go -demo /path/to/demo > out.jpg

This will create a JPEG of a radar overview with dots on all the locations where shots were fired from.

Resulting heatmap

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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