Daniel Pink - Portfolio

Genetic Rocket

By Daniel on Apr 22, 2020
Image post

This genetic algorithm runs multiple versions of slightly different behaving rockets.

After each iteration the rocket with the highest fitness is used as a base for the next generations.

Fitness is calculated by combining three values:

  1. Distance to landing area
  2. Difference between rotation and upright rotation
  3. Velocity on landing

The selected rocket is then used to generate copies with minor changes that will influence its behavior.

It can take some iterations to find a rocket that lands smoothly.

© Copyright 2022 by Daniel Pink - Portfolio. Built with ♥ by CreativeDesignsGuru.