I programmed some creatures. They Evolved. (yewtu.be)
from uthredii@programming.dev to programming@programming.dev on 29 Oct 2023 22:10
https://programming.dev/post/5114441

#programming

threaded - newest

humorlessrepost@lemmy.world on 29 Oct 2023 23:53 next collapse

That’s kinda the whole idea.

It’s like saying “I wrote hello world. It Executed!”

Except “They Evolved” probably sounds like it was unexpected to someone who doesn’t understand the topic, making it great clickbait.

glimse@lemmy.world on 30 Oct 2023 00:29 collapse

I played Conway’s Game Of Life and - you’re not gonna believe this - the pixels moved around into new shapes

Lmaydev@programming.dev on 02 Nov 2023 15:33 next collapse

I absolutely love genetic algorithms.

At university we evolved pilots for the classic moon lander game.

The genome was a collection of instructions like turn left, turn right, accelerate, decelerate.

Each generation you test all of them in the game then “breed” the most successful. Essentially take half of eachs genome and apply some mutations.

Eventually you end up with one that just manoeuvres perfectly onto the landing pad.

It’s just fascinating watching them gradually get better.

We also played around with NEAT which uses evolutionary algorithms to create neural networks by changing their structure and weights.

Just a really awesome topic.

jet@hackertalks.com on 02 Nov 2023 16:05 collapse

I just wish there was more of the video