heatmap

command
v5.0.0-...-24b77fe Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 11 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