Ejs Open Source Reaction Time Measurement Traffic Light Model Java Applet by Fu-Kwun Hwang
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
[color=blue][b]updated with JavaScript version here, get more HTML5 simulation on the link below[/b][/color]

/htdocs/ntnujava/ejsuser/14019/users/sgeducation/lookang/reactionTimewee_pkg/reactionTimewee.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(1047.8kB):double click downloaded file to run it. (22 times by 18 users) , Download EJS source (7 times by 5 users) View EJS source

Ejs Open Source Reaction Time Measurement Traffic Light Model Java Applet

Reaction time: the lapse of time between stimulation and the beginning of the response.
You are driving on the high way and listening to the music you like most.
Suddenly, 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 the minimum distance between the 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 javascript applet helps 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 the slider bar
The traffic light will turn from green to yellow, then to red at a randomly selected interval
Hit the brake button when you saw the red light turned on.
The red arrow indicates the car's position when the red light was on.
The black arrow indicates car's position when you hit the brake
The distance between those two arrows is the minimum distance to keep
Your reaction time, brake time/distance are all shown in the text field.
Drive safely!