Skip to content

Commit

Permalink
Do smth.
Browse files Browse the repository at this point in the history
  • Loading branch information
trekhleb committed Sep 15, 2021
1 parent 0380aee commit e99a885
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,22 @@ This is an experimental project with the aim to learn the basics of how [genetic

![Self-parking cars at the beginning of the evolution](./public/01-cars-before-01.gif)

**On the 40th generation** the cars start learning what the self-parking is and start aiming to get closer to the parkin spot (although hitting the other cars along the way):
**On the 40th generation** the cars start learning what the self-parking is and start aiming to get closer to the parking spot (although hitting the other cars along the way):

![Self-parking car in ](./public/02-car-after-01.gif)

Another example with a bit more challenging starting point:

![Self-parking car in ](./public/02-car-after-03.gif)

## Development Details and Hints

The project is a [React](https://create-react-app.dev/) application written on TypeScript. Styled with [BaseWeb](https://baseweb.design/).

The 3D world simulation is made with [Three.js](https://threejs.org/) library using [@react-three/fiber](https://github.com/pmndrs/react-three-fiber) wrapper. The physics is simulated with [Cannon.js](https://github.com/schteppe/cannon.js) using [cannon-es](https://github.com/pmndrs/cannon-es) wrapper.

The whole evolution simulations is happening directly in the browser.

Hints:

- Use `?debug=true` URL param to see the FPS performance monitor and debugging logs.
Expand Down

0 comments on commit e99a885

Please sign in to comment.