lol, I've been trying to do this for a while now, but get side-tracked and/or bored. I think it would be pretty cool, and not impossible technically.
My biggest problem was I wanted the ability to also dress up the interface with nice user definable labels and other graphics that would help (like tick marks with values) and it tends to get stupidly fudgey trying to do all those little UI controls in JS while making it easy to use for the user.
I may take another stab at it if nobody else is interested in trying, but I must say it seems somewhat pointless when there are already dead-simple "basic" JS CC plugins out there now that get the job done.
Anyways, just my thoughts on it