fusion icon indicating copy to clipboard operation
fusion copied to clipboard

Authoring an experiment on the web

Open oreHGA opened this issue 2 years ago • 3 comments

Did a run through with a member of the research program & I believe this model gets us over the ledge for people creating & hosting experiments on fusion. We got a working demo of flappy birds I'm gonna add to the site

  • Experiment name
  • Experiment description
  • Instructions on what to expect
  • Sandpack instance to author & present the code - https://sandpack.codesandbox.io/docs/getting-started
  • Allow the embedded instance to post back to the parent window - https://htmldom.dev/communication-between-an-iframe-and-its-parent-window/

oreHGA avatar May 20 '23 17:05 oreHGA

Example experiment hosting the flappy bird game... press "SpaceBar" to jump. After an experiment, a csv file is downloaded for events https://codesandbox.io/s/flappy-bird-forked-68ttce?file=/index.html

oreHGA avatar May 21 '23 15:05 oreHGA

We have an experiment loader now live in the NeuroFusion playground https://usefusion.app/playground

oreHGA avatar Dec 14 '23 16:12 oreHGA

Added this to the quest editor - https://usefusion.ai/quests

There's still some work required to get researchers using this..

  • saving the edited files
  • having a "run" url for people

oreHGA avatar Aug 23 '24 17:08 oreHGA

Shipped this :)

With support for editing files and having a run url

Screenshot 2024-11-12 at 1 02 13 PM

oreHGA avatar Nov 12 '24 18:11 oreHGA