C#/ Unity – Building a 2D Genetic Algorithm

So this article will be a little different to most of what’s on this site, but the benefit to writing your own blog is you’re not limited on what you can post so here goes!

Today I’ll be demonstrating a 2D genetic algorithm using some fun little aliens, this will basically represent how genetics can diverge over generations, in this case selecting for the reddest coloured alien. I’ll also include how to introduce mutations over several generations.

This article is based on “How to build a genetic algorithm” by Wael Dimassi, which provided a good basis for this work.

This won’t cover any Unity basics as is more focused on the coding aspect.

Continue reading “C#/ Unity – Building a 2D Genetic Algorithm”

Raspberry Pi 3 – How to Output 4K Resolution to a TV

So I recently acquired a fairly nice LG smart TV with a 4k resolution which would be great if we could actually use it all with the connected Raspberry Pi, unfortunately, ‘officially’ the Pi only supports up to 1920×1080 @60fps.

But it’s a Pi and it’ll let us try anything we want so let’s make it run at 4k and see how it handles it.

Continue reading “Raspberry Pi 3 – How to Output 4K Resolution to a TV”