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

funciones aleatorias (random-ext)

La biblioteca random-ext está disponible como random. Esta biblioteca proporciona muchas funciones convenientes y de nivel superior para la aleatorización.

Ejemplo:

Dibuja ocho círculos con un color aleatorio y una ubicación que se toma al azar de una cuadrícula de cinco por cinco:

let posiciones = xy_grid(5, 50)
posiciones = random.subArray(posiciones, 8)
const cnv = Canvas()
cnv.fixdot()
for (const [x, y] of posiciones) {
    cnv.circle({x: x, y: y, r: 20, fill: true, color: random.color()})
}
cnv.show()

Para obtener una descripción general, consulte: