I came across this recently:http://code.google.com/p/touhoujs/
It's just a very early demo, but I like the idea and I hope it goes somewhere. Unfortunately, it looks like it hasn't been updated in a long time.