Htmlkeyboardresponse
In [ ]:
Copied!
from sweetbean import Block, Experiment
from sweetbean.stimulus import HtmlKeyboardResponse
from sweetbean import Block, Experiment
from sweetbean.stimulus import HtmlKeyboardResponse
In [ ]:
Copied!
stim = HtmlKeyboardResponse(
duration=2000,
stimulus="<p style='font-size:48px; color:pink'>Hello, World!</p>",
)
stim = HtmlKeyboardResponse(
duration=2000,
stimulus="<p style='font-size:48px; color:pink'>Hello, World!</p>",
)
In [ ]:
Copied!
block = Block([stim])
experiment = Experiment([block])
experiment.to_html("htmlkeyboardresponse.html")
block = Block([stim])
experiment = Experiment([block])
experiment.to_html("htmlkeyboardresponse.html")