I've been thinking about something very similar too but given the challenges I opted for this approach... for now.
Perhaps if you can make the book width in proportion of the book's number of pages it will be great. Well done for the software, will try this soon.
[1]ArtFrame: E-paper wireless artwork for your living room: