Hi Jonathan, > Having seen this feature on some software which a friend was using I > have made a quick implementation in pytrainer.
Thanks for your interest and code. > Basically the hue of the > trace depends on the speed you were going at that point (the algorithm I > use to convert speed to color is pretty basic and should probably be > improved). >From what I see on my local version, I always get tracks coloured in green. I was discussing with a friend of mine something similar some weeks ago and we didn't agree on how to scale colors: should we collect info from the user and based on his/her history coloured accordingly or just as an absolute value?. Other options? > The code is just what I wrote quickly to get it working, I can tidy it > up a bit if you think this would be useful for people. For sure yes, the more interesting features, the better. > I have attached a diff and the modified version of the file since I > wasn't sure which I should attach. A diff is ok if you are working on last development version ;) Regards, David ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Pytrainer-devel mailing list Pytrainer-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytrainer-devel