NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
December 15, 2017, 06:02:22 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Establish Good support system. ...Wisdom
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: 1 [2] 3 4 ... 7   Go Down
  Print  
Author Topic: Traffic Light System  (Read 582939 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #30 on: November 16, 2005, 08:39:34 am » posted from:Taipei,T'ai-pei,Taiwan

Because too many persons interested in the source code for this applet,
I have added it to the ZIP files you will receive when you click "GET APPLET FILES" button.
It was written 8 years ago with JDK1.0.2

The physics behind the code is very simple.
Just car with constant acceleration (a) when car is accelerated.
When the car reach maximum velocity, it will move with the same velocoty (acceleration a=0 ).

There is a minimum distance between any two cars to avoid collision between two cars.

When there is a red light or if the distance between two cars is less than minimum distance,
the car will slow down (another constant acceleration: -a).

I hope the above information is helpful for those who want to do more work on the code.
I am sorry that I did not add enough comment in the code.

Fu-Kwun :-)
Logged
neetamalik2
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #31 on: November 16, 2005, 12:04:32 pm »

Hi,
Sir , could u plz send me the source code for this simulation (traffic light one)
My id is neetamalik2@gmail.com
Thanks
Neeta
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #32 on: November 16, 2005, 12:17:05 pm » posted from:Taipei,T'ai-pei,Taiwan

The source code is inlcuded in the ZIP file you would receive when you click the GET APPLET BUTTON at the first posted message.
Logged
cemagalhaes
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #33 on: November 23, 2005, 02:30:05 am »

How can I get the applet?
What is the first posted message? Is this one?Huh
Thank you
Logged
Laurain
student
Newbie
*
Offline Offline

Posts: 1

5 how to
«
Embed this message
Reply #34 on: November 24, 2005, 11:56:42 am »

[b:4b0398b3bc]hi just want to ask wh Shocked :? :wink: Tongue :roll: :wink: ere can i get a source code or a website about intersection traffic light system.this is for our project.tnx Smiley Cheesy [color=blue:4b0398b3bc][/color:4b0398b3bc][size=9:4b0398b3bc][/size:4b0398b3bc][size=12:4b0398b3bc][/size:4b0398b3bc][/b:4b0398b3bc]
Logged

Laurain
brian316
student
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #35 on: December 06, 2005, 08:12:18 pm »

can i get a copy of that traffic simulation source code :?:
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #36 on: December 07, 2005, 05:10:23 pm » posted from:Taipei,T'ai-pei,Taiwan

If you read the above message carefully, I already post message indicated that

[b:b31713a190]The source code is inlcuded in the ZIP file you would receive when you click the GET APPLET BUTTON at the first posted message[/b:b31713a190]
Logged
Aisha
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #37 on: December 18, 2005, 12:23:27 pm »

i'm very intersting in your project sir, could you plz send me the source
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #38 on: December 22, 2005, 03:17:42 pm » posted from:Taipei,T'ai-pei,Taiwan

Could you please look at the above messgae.
It is included in the ZIP file you will recieved in you email account if you click the "GET APPLET FILE" button! :-)
Logged
chae
Newbie
*
Offline Offline

Posts: 1

10 code
«
Embed this message
Reply #39 on: January 25, 2006, 12:46:18 pm »

hope you can give the code too...cha_ez@hotmail.com
Logged
faizal
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #40 on: February 14, 2006, 08:58:57 pm »

i have problem with my project,
i do not know what type sensor i want use to make the traffic light system "reduce traffic jam". if prof know what type of suitable sensor please email at ecal_83@yahoo.com.my
Logged
adlcalistes
Teacher
Newbie
*
Offline Offline

Posts: 4

«
Embed this message
Reply #41 on: February 15, 2006, 02:32:38 pm »

Dear sir,
I dont have to say any thing about your excellent work on physics, you know I am as a physics teacher, enjoying your hard work with appreciation. The time you devote for this job is so expensive. For us its very simple to enjoy it you know. But I know that with our satisfaction , you are satisfied.
Not only me , my students are also highly appreciating your excellent task. I want you to continue with this to help the teacher as well as the student, as they are in need of it.
Behalf of my students highly I appreciate your devotion ,sharing of knowledge, with the idea of helping the others.
Again I highly apprecite your task, and pray for you to develope new ideas.
Thank you sir.
Take care
Calistes.
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #42 on: February 16, 2006, 07:01:48 am »

I hope you, and best of all, your students can enjoy the fun of physics as I do.
 If you can think of any topic which simulations can help student learn better, please let me know. Tell me what kind of simulation you want. And I will try to create one for you and other teachers to use it in the classroom! Cheesy
Logged
adlcalistes
Teacher
Newbie
*
Offline Offline

Posts: 4

«
Embed this message
Reply #43 on: February 16, 2006, 08:25:02 am »

Thank you sir,
If you dont mind trying to make the simulation, for the Millikan oil drop expt, and the Photo electic effect, I highly would appreciate it.
Thank you.
Calistes.
Logged
rhazoel
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #44 on: February 23, 2006, 10:27:36 am »

helllo. the traffic simulation is really great. but, doe anyone here also knows how to make a traffic simulation in a round or rotonda road (roundabout). im pretty much interested in this kind of study. please do help me. thanks..
Logged
ISUJ
Engineer
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #45 on: February 24, 2006, 04:02:05 pm »

I hope You can send me a source Shocked . Thank You vladimir.josifoski@gmail.com
Logged
kernel
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #46 on: February 24, 2006, 09:15:50 pm »

I'll like to receive the source too if it's possible basbaum@gmail.com Cheesy
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #47 on: February 25, 2006, 04:09:16 pm »

I already post the same message before. I will post it here again!

[b:41fb3e999d]The source code for this applet is included in the ZIP files you will received after you click "GET APPLET FILES" button![/b:41fb3e999d]
Logged
malikguna
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #48 on: March 02, 2006, 08:46:41 pm »

i too would like to explore my knowledge in traffic controller program. please send me a soruce code this project.

 guna_it183@yahoo.com

have a nice day..
guna.
Logged
neeraj4ever
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #49 on: March 07, 2006, 05:02:45 pm » posted from:Kharagpur,West Bengal,India

CAN YOU SEND ME THE SOUCRE CODE OF THIS PLZ
Logged

NEERAJ SINGH
  IIT KHARAGPUR
    9337837477
Aseel
Newbie
*
Offline Offline

Posts: 2

21 Hi
«
Embed this message
Reply #50 on: March 12, 2006, 09:28:56 pm »

The simulation u made is really wonderful!!!
I am coding something similar but I am facing some real difficulties, so can I get the source code please??
This will help me a lot.
Thank you
Logged
Aseel
Newbie
*
Offline Offline

Posts: 2

«
Embed this message
Reply #51 on: March 12, 2006, 09:46:36 pm »

Sorry I just notice the button!!
I got the source code
thank you Smiley
Logged
asahan
Newbie
*
Offline Offline

Posts: 3

«
Embed this message
Reply #52 on: April 17, 2006, 12:42:46 am »

Sorry, I sent a message in a wrong way a few minutes ago. Could you also send me source file link to my mail address?

ahmets_a@yahoo.com
Logged
asahan
Newbie
*
Offline Offline

Posts: 3

24 Sorry
«
Embed this message
Reply #53 on: April 17, 2006, 12:45:40 am »

I got it :oops:
Logged
phoenix7
Newbie
*
Offline Offline

Posts: 2

«
Embed this message
Reply #54 on: May 01, 2006, 07:00:46 pm »

Is it still possible to get the source code for this simulation? If so, what do I need to do to receive it?

Thank you,
phoenix7
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #55 on: May 02, 2006, 02:20:01 pm »

The source code is included in the ZIP file you should have received (if you clicked GET APPLET FILE button).
Logged
phoenix7
Newbie
*
Offline Offline

Posts: 2

«
Embed this message
Reply #56 on: May 02, 2006, 11:02:36 pm »

Hi,

Thank you very much for your quick response to my post!

I checked my email (phoecago@hotmail.com) and I did not received the zip file. Is this where you sent it? Or am I looking in the wrong place?

phoenix7
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #57 on: May 03, 2006, 09:49:25 am »

You need to click GET APPLET FILE button under the simulation (near the end of the first message which contain the simuation).
I check the database , you did not click the button yet.
Logged
rhipple
Jr. Member
**
Offline Offline

Posts: 22

Relativity, Electromagnetism, Open Source Physics


«
Embed this message
Reply #58 on: May 04, 2006, 04:08:17 am »

For your information, I just confirmed that the "source code mailer" is working correctly.
Logged

Always interested in meeting like-minded individuals
fatimamadni
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #59 on: May 04, 2006, 11:17:48 am »

your simulation is really cool, can i get the code please.
Logged
Pages: 1 [2] 3 4 ... 7   Go Up
  Print  
Establish Good support system. ...Wisdom
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Traffic Light Simulation (Java)
Request for physics Simulations
null404 9 34956 Last post April 22, 2008, 08:59:13 am
by Fu-Kwun Hwang
Time duration for the yellow traffic light
Kinematics
Fu-Kwun Hwang 4 39019 Last post August 16, 2009, 07:38:51 am
by Fu-Kwun Hwang
traffic light whole system by using matlab
Request for physics Simulations
bennycyg 11 21843 Last post September 30, 2016, 12:46:41 pm
by Charli05
Mesoscopic traffic light simulation
Simulations from other web sites
Ifeanyi 2 13420 Last post December 09, 2011, 07:14:35 am
by Ifeanyi
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.079 seconds with 23 queries.since 2011/06/15