OpenSesame
Rapunzel Code Editor
DataMatrix
Support forum
Python Tutorials
MindProbe
Supported by

SigmundAI.eu can now implement complete psychological experiments in #OpenSesame. From scratch based on verbal description. Astonishing how far #AI has come 😵‍💫 #psychology

[image or embed]

— Sebastiaan Mathôt (@cogsci.nl) Feb 23, 2026 at 3:56 PM

类似 Python 的迭代器 (Pythonic)

pythonic库提供了类似Python的函数,用于遍历数组。可用的函数有:range()enumerate()items()zip()zipLongest()

示例:

绘制一个五行五列的递增数字网格:

let positions = xy_grid(5, 50)
const cnv = Canvas()
for (const [i, [x, y]] of enumerate(positions)) {
    cnv.text({text: i, x: x, y: y})
}
cnv.show()

概述请参见: