Not exactly sure what your goal is but instead of bitmaps vectors might be easier and better. Programming this is actually simple, the complicated part is what mathematical methods you'd use. Either way you'd be doing alot of interpolations and extrapolations. Once you get the physic engine done everything else will line up for you. And unless you plan to program one yourself you should find a nice OCR module (commercial if you're serious about) to put in there.