WhatPulse Forums » Community » General Discussion v » I made a small Java app to generate a custom heatmap Welcome back, Guest.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I made a small Java app to generate a custom heatmap
04-20-2014, 02:19 AM (This post was last modified: 04-20-2014 06:41 PM by mk4.)
Post: #1
I made a small Java app to generate a custom heatmap
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
Find all posts by this user
Quote this message in a reply
04-20-2014, 03:26 PM
Post: #2
RE: I made a small Java app to generate a custom heatmap
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?


Attached File(s)
.jpg  heatmap_2_100.jpg (Size: 161.86 KB / Downloads: 209)
Find all posts by this user
Quote this message in a reply
04-20-2014, 04:01 PM
Post: #3
RE: I made a small Java app to generate a custom heatmap
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.
Find all posts by this user
Quote this message in a reply
04-20-2014, 04:59 PM
Post: #4
RE: I made a small Java app to generate a custom heatmap
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.]
Find all posts by this user
Quote this message in a reply
04-20-2014, 05:11 PM
Post: #5
RE: I made a small Java app to generate a custom heatmap
Uhm, it would help if you'd upload your csv. On first glance I have no Idea what's causing that.
Find all posts by this user
Quote this message in a reply
04-20-2014, 05:37 PM
Post: #6
RE: I made a small Java app to generate a custom heatmap
(04-20-2014 05:11 PM)mk4 Wrote:  Uhm, it would help if you'd upload your csv.

https://mega.co.nz/#!yBMggCZJ!-QPt9BcaiR...v-Mlg6CGqE
Find all posts by this user
Quote this message in a reply
04-20-2014, 06:40 PM
Post: #7
RE: I made a small Java app to generate a custom heatmap
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.
Find all posts by this user
Quote this message in a reply
04-20-2014, 07:15 PM
Post: #8
RE: I made a small Java app to generate a custom heatmap
It's working now.

http://i.imgur.com/KlbQ6F3.jpg
Find all posts by this user
Quote this message in a reply
04-21-2014, 07:10 AM
Post: #9
RE: I made a small Java app to generate a custom heatmap
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!
Visit this user's website Find all posts by this user
Quote this message in a reply
04-21-2014, 10:05 AM
Post: #10
RE: I made a small Java app to generate a custom heatmap
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?
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Video I made a guide for installing WP on Ubuntu 4x3r0 6 3,327 08-02-2015 10:12 PM
Last Post: nimd4
  Guess why my heatmap looks like this! timothymh 11 4,853 05-25-2015 08:28 PM
Last Post: Godric
  Keyboard heatmap not accurate lukemauldin 0 1,534 12-30-2014 01:28 PM
Last Post: lukemauldin

Forum Jump:


User(s) browsing this thread: 1 Guest(s)