File Reference
Back end: server/
These files are not meant to be edited and reside only on our sever:
load_image.php, load_points.php, nose_chin_tap.php, post.php, save_points.php, post_and_load.php |
These files communicate with our C++ software when the user performs an interaction that will affect the images displayed. |
The server is implemented in two parts:
PPAsyncCommandLine is a lightweight utility that is called from the php that sends message to RealTimeServer
RealTimeServer: This is where all the image processing is done. It loads all the necessary data files into memory once, then it is left running so request can be dealt with immediately. PPAsyncCommandLine communicates with the RealTimeServer using local sockets.
Front end examples
The following files are meant to be edited or used as a starting place to implement your own versions. Copies reside on our server, but you will have been given your own copies to experiment with.
simple/eyeshadow.php simple/lipstick.php simple/tan.php |
Very simple example of makeup webpages. |
simple/eyeshadow_swatches.html simple/lipstick_swatches.html |
Example buttons for switching between makeup. |
mockup/lipstick_range/index.html mockup/urban_decay_eyeshadow/index.html |
A styled example of makeup webpages. |
The following files can be edited, but are more likely to change in the future as we add more functionality.
mymy-makeup.js | All of the javascript needed to do everything |
simple_section.html fadeable_section.html simple_plus_base_section.html |
These wrap up the visual aspects of the UI. Although we may be updating them, they may require restyling by you to fit with the style of the rest of the page |