Demonstration of computing a density representation for time series. The density in each time series is normalized by the arc length to ensure that each time series contributes equally to the overall density. The density in each cell is the number of lines that pass though it; counting lines are are going through two cells only half.
Code is on GitHub.
Data Generation took Computing the heatmap took . Detailed timings are available in the debug console.