A Java-based traffic simulation project that models the movement of vehicles on a road.
- Vehicles: Simulates the movement of vehicles (Bikes, HTVs, LTVs) on a road
- Lanes: Vehicles can be added to different lanes
- Traffic Light Control: Traffic light control (RED/GREEN)
- Real-time Output: Real-time output and density calculation
- Visual Representation: Visual representation using Java Swing
- Java Development Kit (JDK) 8 or higher
- Eclipse or other Java IDE
To run the code, compile and run the App.java
file:
javac App.java
java App