NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
October 01, 2020, 08:05:19 am

"Progress, therfore, is not and accident,¡K" ..."Herbert Spencer(1820-1903, British philosopher)"

 Pages: [1]   Go Down
 Author Topic: Ejs version of traffic control simulation  (Read 5744 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
ahmedelshfie
Moderator
Hero Member

Offline

Posts: 954

 « Embed this message on: June 01, 2010, 06:52:32 pm » posted from:SAO PAULO,SAO PAULO,BRAZIL

This following applet is Ejs version of traffic control simulation
Created by prof Hwang Modified by Ahmed
Original project Ejs version of traffic control simulation
Click

Embed a running copy of this simulation

Embed a running copy link(show simulation in a popuped window)
Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
• Please feel free to post your ideas about how to use the simulation for better teaching and learning.
• Post questions to be asked to help students to think, to explore.
• Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!
to view/hide applet.

Each square represent a car. It could be painted with three different color depends on it's acceleration a.
1. a>0 (yellow): when there is no car in front of it or the car in front is far away (the distance is more than dmin) and the street light is not red.
2. a=0 (green): it will keep move with the same speed when it reach maximum speed.
3. a<0 (red): when the street light turn red or the car in front is too close (distance < dmin).

dmin= v* treaction time, where treaction time is the reaction time of the driver.

You can click the +/- sign to change the time delay between traffic lights.
 traffic conrol.gif (15.48 KB, 817x492 - viewed 498 times.) « Last Edit: December 20, 2010, 07:48:59 pm by ahmedelshfie » Logged
ahmedelshfie
Moderator
Hero Member

Offline

Posts: 954

 « Embed this message Reply #1 on: September 27, 2010, 05:46:30 pm » posted from:Uberaba,Minas Gerais,Brazil

Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list

Original applet of traffic control simulation design by prof Hwang  using JDK1.0.2
URL applet Traffic Light System

Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list