The goal of this project is to try to accurately simulate the behavior of traffic on highways and roadways
Intersections decide the behavior of its related cars
- Make lane changing smarter
- Fix set start for intersections
- Add various types of intersections
- Add intersections as a part of a cars route
- Acceleration
- Lane changing
- Add speed limits for roads
- Decision making
- Cars should know when to change lanes
- Road splines
- Roads are based off of spline shapes which can have any number of curves
- Roads can have any number of lanes
- Roads can be specified to be bidirectional
- Cars
- Cars can be specified to have variable abilities: acceleration, braking, etc
- Cars accelerate and decelerate to the appropriate speed in a situation
- Routes
- Cars can specify a route of roads and follow it
- Cars can specify the direction to traverse the route
- Intersections
- Cars going into an intersection find the correct lane for their route
- Intersections can control the start and end positions of splines and connecting them
- Cars with an intersection in their route will stop and start
- Intersections control when cars decide the path is clear
- Traffic engine
- Engine and cars respond to other cars on the road, slowing, speeding up, changing lanes
Simulation rendered using SimulationJs-v2
Website built with Pulse
By Jackson Otto