We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I'v recently post about problem with drawing heatmaps, but I figured out that I have to present more information on two images. So I have data from user who was using Oculus. I have his position on floor (X, Y for every second of research) and i have his head Yaw rotation (also saved for every second of research ). I have to present this data with heatmaps - showing where he was standing most of time and where he was looking for the most of time
Answers
Not good to start a new thread on this
Your table above looks like x,y,YAW, there are 3 columns
Do you want the heatmap to be seen from above or from the side?
Probably the first
But in which way do you want to appear the yaw? Like 60 centimeters before his eyes in the right direction ?
why not add the pictures to the existing thread?
Sorry guys I thouth it would be beter to start new thread becuase this is more complicated than idea presentent before. Apoligize for my mistake.
Chrisir:
Your table above looks like x,y,YAW, there are 3 columns -> Yes
Do you want the heatmap to be seen from above or from the side? -> from above would be better
But in which way do you want to appear the yaw? Like 60 centimeters before his eyes in the right direction ? -> I think 60 centimeters would be good.
look at hsv colormode.
have an array of positions (like pixels?). increment everywhere that is visited / viewed. use this array to determine, using hsv, the colour drawn to the screen.
(changing the hue of an hsv colour changes the colour. changing rgb colours is much more fiddly because you have to worry about the red, green and blue components)
it's probably not enough to increment a single pixel for the position / view, you might need to 'draw' a circle.
kfrajer had a nice solution with HashMap in the other thread iirc
Is there any possibility that you can help me to code this? I am new in programing :< I understand your advices but I have no idea how to change it to code :(
No, let’s just start working with kfrajers code
What don’t you like about it? Then we can start working from there
that other thread (now closed): https://forum.processing.org/two/discussion/26371/how-to-create-a-heatmap-from-list-of-x-y-points
Chrisir -> first of all i don't know how to convert it into circles not ractangles. I have second problem that i don't know how to covert this into reading my data not juz random items that cover the whole image
I am trying to work on this code: https://www.openprocessing.org/sketch/151244 Because the final result is more similar to what i need.
I made something like this but it doesn't show what i need:< Sorry for lame questions but I am not a programmer;<
Okey so i have started form the begining because changing code is to hard for me
Can samoeone Help to :
1 image this visualisation bigger and more readable 2 What is the easiet way to now add to this summaring colours from green to red?
here i uplode files https://drive.google.com/drive/folders/15afpXQCt7t3J7OSK1Xt_pdbZoYbPMY2S?usp=sharing
don't load data in draw. this is executing 60 times a second. or trying to.
...
Don't be ironic :) I am not a programmer and I have any experience:)
Good to know, thank you
You can also use PixelFlow to generate fields of values.
I didn't have time to finish this (your data set is not right for this)
but based on kfrajers code I calculated for each point where he looks at and tried to bring this into an hashmap