The software for the system consists of two parts, one part running in the kindle and the other one in the server.
In the kindle, a script is written to run at boot. The script pulls up an image from a URL and displays it full screen at boot and refreshes it periodically using crontab. The image is first downloaded from the URL, stored in the server and then pulled up in the kindle. While refreshing, the previously downloaded image is deleted, new image is downloaded (even if it is still the previous one) and displayed. The period to be refreshed can be anywhere between 10 minutes to 5 hours. This is the simplest version of the software that can be thought of. This is executed in multiple kindles, with a different image loaded on each one, together produces on large image. Thus, a different script runs on different kindles to pull up different parts of one image.
On the server, the images can be refreshed to reflect a change in the display. A python script which imports ImageMagick libraries can do this. The server side script takes up book-spine pictures, orders the list of images. Then, the pictures are organized in order to compose an image which is split into the number of kindles, each split image having the same dimensions. Now the images are sent to the respective kindles to display them. This can be considered as the second version of the software where spines of books are retrieved from various sources to compose a picture and then display it.
The final version of the software will display the image more accurately. For example, tall books cast a shadow on the shorter ones. Image manipulations will be done to make it look exactly like a physical bookshelf. Portions of the image will be shaded to implement this. And, also, furthermore into it, books need not lie on the bookshelf in exact vertical positions, it can be bent on other books or lying flat with the spine being visible. These changes will be done through ImageMagick commands.