This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

Super_Hippo
Super_Hippo presents ...

2015/2/23

Traffic Simulation 2

In my opinion much better than my first try. Cars and also bicycles are driving from one side to a random other side.
You can control the amount of incoming cars and bicycles with clicking on the + and - at each side. Red is for the cars and blue for the bicycles. Use the right mouse button to increase/decrease it faster, a click on the mouse wheel sets it to maximum/minimum.

3380 views / 785 in the last 7 days

1 vote | 0 in the last 7 days

Tags: mouse simulation light system traffic road signal cross

Your browser does not support the canvas tag.
lordhersheylordhershey

2015/2/23

It would be cool to see what would happen if you could make an unexpected light change - like clicking on the traffic light to change it - or what if a car does not obey the traffic light, or pulls a jerk move?
Super_HippoSuper_Hippo

2015/2/23

I guess it would end in a crash or the cars from other side would stop from top speed when the other car drive straight from one side to the other in front of the normal driving car. :D Bicycle riders (who sometimes still crash...) would be killed too because they aren't detected by cars.
A new version of this scenario was uploaded on 2015-02-23 17:46:27 UTC Fixed bug I created when individualized the different routes (= less traffic now).
lordhersheylordhershey

2015/2/23

It becomes a complicated tangle pretty quickly. The sim is pretty smooth.
Super_HippoSuper_Hippo

2015/2/23

Thanks. I thought of adding pedestrian as well. This would probably end in a complete mess.
EHxenoEHxeno

2015/3/13

I can't seem to download this.
A new version of this scenario was uploaded on 2015-03-21 16:05:57 UTC If there are no cars coming, all traffic lights for the bicycles turn green. So now, the traffic lights for the cars don't turn to green unnecessarily anymore and the bicycle traffic runs faster. Added to possibility to set increase/decrease the incoming cars/bicycles to maximum/minimum instead of 1%/5% steps. To do that, click on a +/- with the mouse wheel.

Want to leave a comment? You must first log in.

Who likes this?

NSC