I was really bored and somehow I decided to make a heatmap out of X cursor position in terminal. The following image shows the result and here is a video:
This is just for fun, nothing really useful. The X cursor position is translated into terminal window space, then heating up and the heat would also cool down as time goes by. The heat scale is the rainbow hues, which I roughly calculated into 256 terminal colors.
If you are interested in xcinfo, it might be useful if you need to script with X cursor infomation. I had not touched the code more than a year ago until now.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.