Last active
August 29, 2015 14:17
-
-
Save wkruijne/0614abcf1491fc67f7ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by OpenSesame 2.9.4 (Hesitant Heisenberg) | |
# Fri Mar 27 15:15:18 2015 (posix) | |
# <http://www.cogsci.nl/opensesame> | |
set background "black" | |
set canvas_backend "xpyriment" | |
set compensation "0" | |
set coordinates "relative" | |
set description "Default description" | |
set foreground "white" | |
set height "768" | |
set keyboard_backend "legacy" | |
set mouse_backend "xpyriment" | |
set sampler_backend "legacy" | |
set start "experiment" | |
set subject_nr "0" | |
set subject_parity "even" | |
set synth_backend "legacy" | |
set title "New experiment" | |
set width "1024" | |
define sequence experiment | |
run getting_started "always" | |
run inline_script "always" | |
run welcome "always" | |
define notepad getting_started | |
set description "Some pointers to help you get started!" | |
__note__ | |
Hi, | |
Welcome to OpenSesame 2.9.3 "Hesitant Heisenberg"! | |
If you are new to OpenSesame, you may wish to follow one of the tutorials, | |
which can be found online. There are also many example experiments, which will | |
help you to get started with creating your own. These can be found in the | |
"examples" folder provided with OpenSesame or, again, online. | |
For more information, please refer to OpenSesame documentation area: | |
- <http://osdoc.cogsci.nl/> | |
And feel free to ask for help on the forum: | |
- <http://forum.cogsci.nl/> | |
Have fun with OpenSesame! | |
-- | |
Sebastiaan | |
__end__ | |
define inline_script inline_script | |
set _prepare "" | |
___run__ | |
import random | |
import numpy as np | |
l = [0,1,2,3,4,5,6] | |
np.random.shuffle(l) | |
print l | |
#### | |
l = [0,1,2,3,4,5,6] | |
random.shuffle(l) | |
print l | |
##### | |
print np.random.random_sample() | |
print random.random() | |
__end__ | |
define sketchpad welcome | |
set description "Displays stimuli" | |
set duration "keypress" | |
set reset_variables "no" | |
set start_response_interval "no" | |
draw textline 0 0 "OpenSesame 2.9.3 <i>Hesitant Heisenberg</i>" center=1 color="white" font_family="serif" font_size=32 font_bold="no" font_italic="no" html="yes" z_index=0 show_if="always" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment