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.html simple/lipstick.html simple/tan.html |
Very simple example of makeup webpages, with 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 are not meant to be edited, and are more likely to change in the future as we add more functionality.
mymy-makeup.js | All of the javascript needed to do everything |
mymy.css mymy.scss |
Very basic css or scss to include, which gives very minimal styling to ensure elements such as the loader overlay display correctly. Any can be overwritten depending on the use case. |