Creating a new skin with Photonic3D

Writing support for a new skin requires three steps:

  1. Step 1: Create or download your skin resources (HTML/CSS/Javascript etc…)

If you happen to be running on a Raspberry Pi or some other Linux distribution, you may not want to place your skin resources into your Photonic3D installation directory. This is because it will be deleted when Photonic3D is auto-upgraded.

  1. Step 2: Create a new skin in Photonic3D.

You create skins by updating the ```skins``` property in your ```config.properties``` file. Just simply add the name of the skin, your main welcome file, the location where you downloaded your resources in step #1 and whether you'd like to make your skin active and available: ```skins=[{“name”:“Main skin”, “welcomeFiles”:[“index.html”], “resourceBase”: “resourcesnew”, “active”: true}]``` In the case below, I've made a new skin with the name ```Touch Screen``` which has a welcome file of ```MyHomeFile.html```, downloaded to my desktop and made it active: ```skins=[{“name”:“Main skin”, “welcomeFiles”:[“index.html”], “resourceBase”: “resourcesnew”, “active”: true},{“name”:“Touch Screen”, “welcomeFiles”:[“MyHomeFile.html”], “resourceBase”: “C:\\\\Users\\\\wgilster\\\\Desktop”, “active”: true}]```

  1. Step 3: Restart Photonic3D

This is rather self explanatory.