1
1
/*
2
- * @name Stepping Feet Illusion
3
- * @description Stepping feet illusion is a very famous psychological experiment
4
- * Both the bricks will appear to move at different speed
5
- * even though they are moving at the same speed.
6
- * Click the mouse inside Canvas to confirm that
7
- * they are moving at the same speed .
8
- * Contributed by Sagar Arora.
2
+ * @name Ilusión de los Pasos
3
+ * @description La ilusión de los pasos es un experimento
4
+ * psicológico muy famoso. Ambos bloques parecen moverse
5
+ * a velocidades diferentes, pero en realidad se mueven
6
+ * a la misma velocidad. Haga click con el ratón dentro
7
+ * del Canvas para confirmar que se mueven a la misma velocidad .
8
+ * Contribución de Sagar Arora.
9
9
*/
10
10
11
11
// this class describes the structure
@@ -45,7 +45,7 @@ function setup() {
45
45
createP ( "are moving at same speed or not" ) . style ( 'color' , '#ffffff' ) ;
46
46
}
47
47
48
- // creating two bricks of
48
+ // creating two bricks of
49
49
// colors white and black
50
50
let brick1 = new Brick ( "white" , 100 ) ;
51
51
let brick2 = new Brick ( "black" , 250 ) ;
@@ -77,4 +77,4 @@ function createBars() {
77
77
if ( i % 2 == 0 )
78
78
rect ( i * len , height , len , - height ) ;
79
79
}
80
- }
80
+ }
0 commit comments