@ChrisCheng/

Raycasting A.I. Improved (By @ebest)

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • toy_nn
  • boundary.js
  • car.js
  • ga.js
  • path.js
  • ray.js
  • sketch.js
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>repl.it</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.8.0/p5.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.8.0/addons/p5.dom.min.js"></script>
    <script src="toy_nn/matrix.js"></script>
    <script src="toy_nn/nn.js"></script>
  </head>
  <body>
    <script src="boundary.js"></script>
    <script src="ray.js"></script>
    <script src="path.js"></script>
    <script src="car.js"></script>
    <script src="ga.js"></script>
    <script src="sketch.js"></script>
  </body>
</html>
result
console