Here is a little application of my Addons Lib. Everything is in the video, althaught it is in french but it is clear.
So, the php/javscript script creates a file that contains the X and the Y axis. The PSP (client) downloads the file using my lib's functions, it reads it then blits the image on this axis.
Download and instructions: