package
2.13.3
Repository: https://github.com/markus-wa/demoinfocs-golang.git
Documentation: pkg.go.dev

# README

Creating a heatmap

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

:information_source: 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