WhatPulse Forums
I made a small Java app to generate a custom heatmap - Printable Version

+- WhatPulse Forums (http://whatpulse.org/forums)
+-- Forum: Community (/forumdisplay.php?fid=34)
+--- Forum: General Discussion (/forumdisplay.php?fid=52)
+--- Thread: I made a small Java app to generate a custom heatmap (/showthread.php?tid=4777)

Pages: 1 2


I made a small Java app to generate a custom heatmap - mk4 - 04-20-2014 02:19 AM

Hey there, my heatmap inside WhatPulse is kinda messed up since I play a lot of FPS that center the mouse, but now that you can export data I thought I'd write a little app that will generate me a customizable heatmap. You can customize the size of the squares and the intensity of the amplification.

Here's some examples of what the App can do: http://imgur.com/a/SBOZK

How to use it: Export your heatmap data from WhatPulse as .csv, then put the .jar into the same directory as the .csv. Run the .jar, enter the filename (which should be right be default), screen resolution and your desired settings.

If you want to try it out yourself, download is here.

If you have any suggestions, feel free to let me know! Also I'd love if you post some results Smile


RE: I made a small Java app to generate a custom heatmap - n01 - 04-20-2014 03:26 PM

Very cool. I play a lot of games as well which result in a similar heatmap for me with the mouse centered. Here's what I got when I used your application.

It's strange though. Although both heatmaps show a huge concentration of clicks in the dead center of the screen, presumably because of my use of directx mouse capture applications like games, it's hard to see this in the data. My native screen resolution is 1600x900, but it isn't like I see rows upon rows of clicks at 800, 450, like I would expect. I can find a few by trawling through the data, but not nearly as many as I would think. Thoughts?


RE: I made a small Java app to generate a custom heatmap - mk4 - 04-20-2014 04:01 PM

First of all, thanks you!

Second, I have rows of clicks that are all around 960,540 but I have not a single click at 960,540 itself, which I find really weird.

960,536
960,541
959,540
960,541
959,541
982,540
960,544
952,546
[...]

You can even see it in the topmost heatmap in my first post.


RE: I made a small Java app to generate a custom heatmap - micycle - 04-20-2014 04:59 PM

I follow the steps but upon the clicking the final one (amplification), the application disappears and nothing else appears afterwards. [My .csv document is over 1.27 million lines long - if that would affect anything.]


RE: I made a small Java app to generate a custom heatmap - mk4 - 04-20-2014 05:11 PM

Uhm, it would help if you'd upload your csv. On first glance I have no Idea what's causing that.


RE: I made a small Java app to generate a custom heatmap - micycle - 04-20-2014 05:37 PM

(04-20-2014 05:11 PM)mk4 Wrote:  Uhm, it would help if you'd upload your csv.

https://mega.co.nz/#!yBMggCZJ!-QPt9BcaiR69kuwzNaXkN5aHFBv1KyHBjv-Mlg6CGqE


RE: I made a small Java app to generate a custom heatmap - mk4 - 04-20-2014 06:40 PM

Okay, I found 59 clicks that were past the 1919th pixel (the first pixel being the 0th pixel). I updated it and should work now simply ignoring all pixels outside the specified bounds.


RE: I made a small Java app to generate a custom heatmap - micycle - 04-20-2014 07:15 PM

It's working now.

http://i.imgur.com/KlbQ6F3.jpg


RE: I made a small Java app to generate a custom heatmap - smitmartijn - 04-21-2014 07:10 AM

Nice job! I like the contrast it gives.

You won't see any clicks in the actual dead center of the screen, as that's being ignored in the WhatPulse client. All the initial tests (with a bunch of different games) said the mouse was locked in the dead center, but that's not true for all computers, they seem to behave differently. That's why 2.4 now has a quick&easy 'disable' button for just the heat map. ;-)

Keep up the good work!


RE: I made a small Java app to generate a custom heatmap - mk4 - 04-21-2014 10:05 AM

Heh thanks!

Have you got any Idea what caused the clicks at x1920 for user micycle though? Usually it should only track clicks between x0 and x1919, no?