Jump to content

File:Flash lag.gif

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (1,000 × 600 pixels, file size: 30 KB, MIME type: image/gif, looped, 150 frames, 3.0 s)

Summary

Description
English: The flash-lag effect. When a visual stimulus moves along a continuous trajectory, it may be seen ahead of its veridical position with respect to an unpredictable event such as a punctuate flash. This illusion tells us something important about the visual system: contrary to classical computers, neural activity travels at a relatively slow speed. It is largely accepted that the resulting delays cause this perceived spatial lag of the flash. Still, after several decades of debates, there is no consensus regarding the underlying mechanisms. See https://laurentperrinet.github.io/publication/khoei-masson-perrinet-17/
Date
Source

Own work

This file is easily generated using Python with the following libraries: numpy, gizeh, moviepy:

import os
import numpy as np
import gizeh as gz
import moviepy.editor as mpy
figpath = '../figures'
W, H = 1000, 600
r = -W/64
duration = 3.
start = duration*.2
stop = duration*.8
duration_flash = .05
fps = 50
flash = gz.rectangle(lx=r, ly=r, xy=(W/2., H/2.-r), fill=(0,1,0))
def make_frame(t):
    surface = gz.Surface(W, H, bg_color=(0, 0, 0))
    if np.abs(t-duration/2) < duration_flash: flash.draw(surface)
    if start < t < stop:
        rect = gz.rectangle(lx=r, ly=r, xy=(W*t/duration, H/2.+r), fill=(1,0,0))
        rect.draw(surface)
    return surface.get_npimage()
clip = mpy.VideoClip(make_frame, duration=duration)
clip.write_videofile(os.path.join(figpath, 'flash_lag.mp4'), fps=fps)
Author LaurentPerrinet (talk) (Uploads)
Other versions File:Flash lag.gif full animation — File:Flash lag Frame073.gif green dot flash (Frame 073)

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

10 February 2017

image/gif

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:51, 10 February 2017Thumbnail for version as of 13:51, 10 February 20171,000 × 600 (30 KB)LaurentPerrinetThe flash-lag effect. When a visual stimulus moves along a continuous trajectory, it may be seen ahead of its veridical position with respect to an unpredictable event such as a punctuate flash. This illusion tells us something important about the visu...

The following 2 pages use this file:

Global file usage

The following other wikis use this file: