The first project I've tackled with Processing was making a sketch that tracks your keyboard movements from key to key, and how many times you use a key. I was inspired by the
IOGraph Mouse Tracker, and I want to make it act the same way. I want to allow the user to work on, say, an essay for school, but track all the input with this program to generate the image, which looks something like this:
It's pretty self-explanatory, but the darker the key, the more you hit the key, and the lines track the transition from one key to another (once again the darker to more often it's made).
Hey everybody, I've been searching all over for the answer to this, so I hope that by asking it here I will finally get what I am looking for.
I am simply curious if it is possible to convert the value of
key to a numerical value. I figured it might be some sort of ASCII number, but I still can't figure this out. I know it would be possible with a disgusting amount of if-statements, but I would love to avoid that if at all possible.