This is the artifact creation sandbox for the Artificial Museum.
Makers can use this sandbox to customize various features of their artifact.
All of the settings in this sandbox are the same as they are in the production version of the platform, lighting, skybox, scale, renderer and other base scene components are setup already. All that is left to do is to customize various aspects of the artifact.
git clone https://github.com/artificialmuseum/sandbox
cd sandbox
# install dependencies
npm install
# run the dev server
npm start
(almost all systems will support python, most operating systems have it preinstalled):
start a shell (terminal, bash, cmd.exe), then navigate to this directory.
go to the src directory.
cd src
python server.py
python3 server.py
python2 server.py
py server.py
after starting one of the servers above, the sandbox is running at localhost:8000, point your browser there to see it.
do a full page reload (ctrl + shift + r) to show the changes instantly, without server restart, or, even better, open the dev tools (ctrl + shift + i) and go to the network tab and check the "disable cache" button there.
see src/artifact.js for detailed artifact documentation.
The sandbox exposes multiple hooks into the engine runtime loop. See the src/CustomScene.js file for a list of all those functions.
this sandbox can be loaded on glitch, go to artificialmuseum/glitch to see how to.