Get a drawing tablet and move your computer monitor next to your bed. --- http://i.imgur.com/NkZUeFd.gif