antiph.onl

open alpha 1.0

What is ANTIPHON?

ANTIPHON is a server-side technology for broadcasting data to 3D webVR scenes including newart.city, aframe.io, moz://a hubs (on custom instances), and native three.js.

Implementation

The easiest way to get started is to run the regex parser through the custom javascript box on newart.city. The parser and a simple example call can be found here.

You can now paste the contents of the downloaded Public_API file into the custom JavaScript box on newart.city. Once you do that, you will need to upload at least one animated fbx file as well as one sound file to newart.city.

Once your files are uploaded, you need to get the artwork ID's. You can do so by running customScriptsAPI.getArtworks() in your browser's javascript console (for instance in Chrome: View -> Developer -> JavaScript Console and paste the customScripstAPI). This will give you the list of artworks and ID's. Once you have the artwork ID's, paste them into the appropriate stop function (like example line 54 and 64). Then paste the same ID's into the playAnimationOnce method and respectively the PlayAudioOnce methods.

The stopAllAnimations methods identify the files on page load and stop them from plating automatically, while the playAnimationOnce methods play the animation when data is coming in from antiph.onl. You should now have a artwork that plays on a triggering event.