fusion
fusion copied to clipboard
Authoring an experiment on the web
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/
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
We have an experiment loader now live in the NeuroFusion playground https://usefusion.app/playground
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
Shipped this :)
With support for editing files and having a run url