I've had several dreams where I've been trying to code the world around me. Sometimes this involves seeing scrolling source code, other times it seems to be an abstract relationship of programs to the environment I'm in. I usually can't remember very much of these dreams, because when I wake they don't readily make sense and so flee quickly.
I remember waking up whilst learning about animation and thinking that I couldn't move because I had set up the world, view, projection matrices but not the model matrices for my legs and arms.