Update README.md
Browse files
README.md
CHANGED
@@ -8,34 +8,12 @@ pinned: false
|
|
8 |
---
|
9 |
|
10 |
# Autonomous Driving Simulation
|
11 |
-
## Car Brain Storage
|
12 |
-
This repository contains code for storing and managing a car's brain in local storage using JavaScript. The car's brain is represented by a neural network, and this code allows you to save and discard the neural network as needed.
|
13 |
|
14 |
## Instructions
|
15 |
-
|
16 |
-
|
17 |
-
1. Open the browser console.
|
18 |
-
2. Call the `save()` method.
|
19 |
-
|
20 |
-
To discard the stored neural network, follow these steps:
|
21 |
-
|
22 |
-
1. Open the browser console.
|
23 |
-
2. Call the `discard()` method.
|
24 |
|
25 |
## Adjusting Simulation Parameters
|
26 |
You can customize the simulation by adjusting the following parameters:
|
27 |
|
28 |
* Number of Cars Simulated in Parallel (N): To change the number of cars simulated in parallel, modify the value of `N` on line 9 in the code.
|
29 |
-
* Mutation Amount: To modify the mutation amount, update the value of `mutationAmount` on line 20 in the code.
|
30 |
-
|
31 |
-
## Changing Neural Network and Sensor Properties
|
32 |
-
If you want to change the properties of the neural network or the sensor, you need to discard the old ones from local storage. Follow these steps:
|
33 |
-
|
34 |
-
1. Open the browser console.
|
35 |
-
2. Call the `discard()` method.
|
36 |
-
|
37 |
-
By discarding the old properties, you ensure that the updated neural network and sensor properties are used in the simulation.
|
38 |
-
|
39 |
-
## Demo:
|
40 |
-
|
41 |
-
https://github.com/RustX2802/Autonomous-Driving/assets/72299347/809a1121-6565-415f-bf93-f77fb197505f
|
|
|
8 |
---
|
9 |
|
10 |
# Autonomous Driving Simulation
|
|
|
|
|
11 |
|
12 |
## Instructions
|
13 |
+
Constantly refresh the page until the AI-powered car outperforms the other ones without getting damaged.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
## Adjusting Simulation Parameters
|
16 |
You can customize the simulation by adjusting the following parameters:
|
17 |
|
18 |
* Number of Cars Simulated in Parallel (N): To change the number of cars simulated in parallel, modify the value of `N` on line 9 in the code.
|
19 |
+
* Mutation Amount: To modify the mutation amount, update the value of `mutationAmount` on line 20 in the code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|