Uploading a Script

To run your script on an iOS device, you first need to upload it to scripts.hypno.com.

1. Login to scripts.hypno.com

Use the same login credentials that you set up for Hypno Admin.

2. Create a New Script

After logging in, you'll see a directory of your organization's uploaded Hypno scripts (if any). Press the add button on the bottom of the screen to create a new script. You can also click on an existing script to replace or delete any of its files.

3. Uploading Script Files

After you click add, a window will pop up where you can upload the files your script uses to the Hypno cloud, so your iOS device can download them to the Hypno App. First, give your script a distinct name. You can upload your script assets one at a time or all at once as a zip file. Here is a list of the assets you'll need to upload:

  • Your main javascript file

  • Any media assets your script references (images, audio, video)

  • Any shaders your script uses (cikernels, glsl)

  • Your config file (config.json)

  • Hypno Standard Library (stl.js)

Last updated

Was this helpful?