I am considering small "artsy" project. I would like to create sundial by placing gnomon on the window and painting hour lines on the window facing wall.
Since this is to be placed in bedroom I am constrained by my geographic location, wall, window placement and orientation. The esthetic and size (I have one wall only) of the project is gating factor (otherwise known as "the wife" factor).
Due to above I am perfectly OK with the fact that this sundial will "work" by limited time of the day and even limited time of the year. However whenever it will work (that is the shadow of the gnomon will be cast on the "said" wall) I would like it to be as accurate as possible.
Also all of the above make the calculations for creating hour lines quite challenging (at least for me) and to be honest I do not know where to start.
Could you point me the resources that would help in calculating hour lines (software, tutorials, books, math equations)?
Could you describe how would you approach the task of calculating hour lines?
(Resources that are little heavy on math side are OK for me. I am also capable of wring software on my own.)