Ejs Open Source Reaction Time Measurement Traffic Light Model Java Applet
remixed by lookang
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=387.0 Ejs version
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=137.0 JDK version
Full screen applet
kindly hosted in NTNUJAVA Virtual Physics Laboratory by Professor Fu-Kwun Hwang
alternatively, go direct to http://www.phy.ntnu.edu.tw/ntnujava/index.php?board=28.0
Collaborative Community of EJS (Moderator: lookang) and register , login and download all of them for free :) This work is licensed under a Creative Commons Attribution 3.0 Singapore License
Author: Fu-Kwun Hwang and lookang
Reaction time : the lapse of time between stimulation and the beginning of response.
You are driving on the high way and listening to the music you like most.
Suddently, you see the brake light of the car in front of you just turned on.
You will try to hit the brake and slow down your car.
But, there is a small time delay before you really do that--- your reaction time.
During that period of time, your car is still moving at the same HIGH speed! If you do not want something VERY BAD happened,
What is minimum diatance between front of your car and the rear of the car before yours?
If both cars need the same distance to fully stopped, the minimum distance is ( the velocity of your car )* ( your reaction time )
This java applet help you to determined your own reaction time (how much distance to keep between cars when you are on the highway)
Hit the start button: the red car starts to move with initial velocity selected from slider bar
The traffic light will turn from green to yellow, then to red at randomly selected interval
Hit the brake button when you saw the red light turned on.
The red arrow indicate car's position when the red light was on.
The black arrow indicate car's position when you hit the brake
Distance between those two arrow is the minimum distance to keep
Your reaction time, brake time/distance are all shown in the text field.
01 Saturday-Sunday Oct 2011
redesign objects inside with newer ejs stuff, new panels and look and feel
add pictures from
add arrows to indicate position what the event occurs like green, yellow, red, brake and stop
optimize the view a bit
made the car start at x = 0 for ease of calculation of x