[Tool/Web/Other] SanAndreasHeatmap — PHP GD class for beginners
#1

SanAndreasHeatmap - PHP GD class for beginners.
Thanks to xird (https://github.com/xird/gd-heatmap) for the heatmap features.
Include release under MIT License (open source license) - click here for more information.

First of all, what is a heatmap?

Quote:

A heat map is a graphical representation of data where the individual values contained in a matrix are represented as colors. Fractal maps and tree maps both often use a similar system of color-coding to represent the values taken by a variable in a hierarchy. The term is also used to mean its thematic application as a choropleth map. The term "Heatmap" was originally coined and trademarked by software designer Cormac Kinney in 1991, to describe a 2D display depicting real time financial market information.

With SanAndreasHeatmap, you are directly able, through in-game coordinates, to create a heatmap in the map of San Andreas!
The only thing you need to do is collect the coordinates and save them into a database table.

Then you're done, yay!

Bug Reporting

Please use GitHub's issues to report bugs by clicking here.

Contributions

Please use GitHub's pull requests to give a contribute by clicking here.

Example

You may find an example of the heatmap here.

Requirements

The only thing you need to do is to configure the class.

You can click here to see what you are able to configure.

For any other question, feedback or anything else feel free to answer this thread, and don't forget to contribute on GitHub, if you'd like to!

Cheers.
Reply
#2

Awesome! I like it!
Reply
#3

Interesting
Reply
#4

Nice work !
Reply
#5

Awsome
+rep'ed
Reply
#6

Looks good, but do you mind if I ask you a question?

-- For what instances would this be used for/What can this be used for?
Reply
#7

Quote:
Originally Posted by Mark_Weston
View Post
Looks good, but do you mind if I ask you a question?

-- For what instances would this be used for/What can this be used for?
You can use it for anything you want, your imagination is the limit, but for example you could track the deaths in the map, as someone suggested in IRC weeks ago.
Reply
#8

Quote:
Originally Posted by GiamPy.
View Post
You can use it for anything you want, your imagination is the limit, but for example you could track the deaths in the map, as someone suggested in IRC weeks ago.
Can this be used as a live player map? Or would I have to code it in?
Reply
#9

Quote:
Originally Posted by Mark_Weston
View Post
Can this be used as a live player map? Or would I have to code it in?
Yes, of course, you could.

You just need to load the coordinates through a MySQL database.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)