|
Post by tsh73 on May 26, 2023 9:10:46 GMT -5
So as Wikipedia says, eye/brain has some 80 ms lag - between something happened and you actually got it. But how we can reflect flying balls? brain predicts where ball would be.
This program shows this lag. Run it with dt=500, see there are no tricks in the program - red dot appears for single tact, in sync with green one Now uncomment next line (dt=40) I clearly see red light lags!
'Flash lag illusion 'https://en.m.wikipedia.org/wiki/Flash_lag_illusion
nomainwin open "Flash lag illusion" for graphics_nsb_nf as #gr #gr "trapclose [quit]" #gr "down; fill black; home; posxy cx cy" dt=500 ' set dt to 500. You see red dot appears for single tact, in sync with green one 'dt=40 'now set dt smaller. I clearly see red light lags! dx=10 s=10 x=0 xs=s*int(cx/s)
timer dt, [tick]
wait
[tick] #gr "discard" #gr "place ";x;" ";cy #gr "backcolor black" #gr "boxfilled ";x+s;" ";cy+s if x=xs then #gr "place ";x;" ";cy+2*s #gr "backcolor black" #gr "boxfilled ";x+s;" ";cy+s+2*s end if x=x+s #gr "place ";x;" ";cy #gr "backcolor green" #gr "boxfilled ";x+s;" ";cy+s if x=xs then #gr "place ";x;" ";cy+2*s #gr "backcolor red" #gr "boxfilled ";x+s;" ";cy+s+2*s end if
if x>2*cx then x = 0 wait
[quit] timer 0 close #gr end
|
|
|
Post by Brandon Parker on May 27, 2023 6:03:28 GMT -5
I guess my visual perception is a little faster than standard because I do not perceive any difference in position between the two squares down to 20ms. Or, my brain is just placing it where it knows it should be... {:0) Brandon Parker
|
|
honky
Junior Member
Posts: 63
|
Post by honky on May 28, 2023 10:03:27 GMT -5
Very impressive. At the first launch the top was very late. Would I have a slow brain ...?
|
|
|
Post by Brandon Parker on May 28, 2023 21:25:35 GMT -5
Very impressive. At the first launch the top was very late. Would I have a slow brain ...? Not at all!!! Some people will perceive things differently than the average person. There's probably a bell curve somewhere for it... {:0) Brandon Parker
|
|