Skip to content

rudrodip/self-driving-car-simulation

Repository files navigation

Autonomous Car Simulation

This project is an autonomous car simulation that uses Next13 framework to visualize the behavior of self-driving cars on a road. The simulation includes features like car movement, collision detection, road boundaries, and traffic interaction.

Simulation Screenshot

Features

  • Realistic car movement and physics simulation.
  • Self-driving cars controlled by neural networks and genetic algorithm.
  • Collision detection with road boundaries and other traffic cars.
  • Adjustable road layout and lane configurations.
  • Dynamic traffic generation.
  • Visualization of car sensors and readings.

Installation

  1. Clone the repository: git clone https://github.com/rudrodip/self-driving-car-simulation
  2. Navigate to the project directory: cd self-driving-car-simulation
  3. run yarn in your terminal, after installation of all dependencies, run yarn dev in your terminal.

Usage

  • Use the WASD keys to control the main car in the simulation.
  • Watch as the self-driving cars navigate the road and avoid collisions.
  • Experiment with different car configuration, activation functions for hidden layers, training configuration.
  • Adjust simulation parameters in the code to customize the behavior of the cars.

Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue on the GitHub repository.

License

This project is licensed under the MIT License.

Acknowledgements

  • The simulation is built using Next13 and Javascript.
  • The project is inspired from GitHub repository.
  • The project structure and code organization are inspired by best practices from various sources.

Contact

For any inquiries or questions, feel free to contact Rudrodip Sarker.

About

A self driving car simulation that leverages genetic algorithm to evolve.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published