Viewing a single comment thread. View all comments

ObsessiveTimekeeper OP t1_j2noshu wrote

Thanks! That's a weighted color average based on frequency per activity grouped every 3-minutes. Then I just paint it into a canvas using fillRect in js.

Little more detailed: every 3 minutes of every day of every week I sampled what activity was "active" for those 3 minutes and added that to a counter for said activity. Then do the weighted average with the total number of samples for each 3 minute inverval.

1