I need help handling a fund raising website for a non profitable agency, which consists on selling pixels of a picture that should be displayed as they’re being bought.
So, it should start with a blurry image and as people donate to the site, for each euro given, a pixel of the final picture should be revealed on a spiral evolution as on the code I did in Javascript here: http://jsfiddle.net/hitbyatruck/c4Kd6/
I believe PHP on the server should handle the Paypal confirmations of payment and send them to the processing method, which will check the last visible pixel coordinates and keep up from there according to the payment done.
After that, the last coordinate processed should be stored to feed the next payment processing and the image result after processing should be saved to feed the client side.
Payment processing is done, but I’m having a bit of trouble handling the PHP for the image processing and the client side to refresh the image as it’s being updated on the server.
I’d appreciate any help to get me started.
Thanks in advance.