Plastic surgery 👨🏽‍⚕️

This turtle uses a different 'technique' to go from one path to another than Path evolution.

This one does not use the naive genetic algorithm from Natural selection to evolve an initial path to one that matches the 'fittest' path (targetInput) as much as possible. It will instead exactly match the 'fittest' path, but no 'evolution' is used to modify a path. It samples both paths with the same resolution and for each index a lerp is used to go from the startInput to the targetInput.

('Naive' is quoted from Path evolution, not an opinion)

Log in to post a comment.

grid
13.0
startInput
targetInput
// Forked from "Path evolution" by reinder
// https://turtletoy.net/turtle/d5e96736b9
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX