Sunset Simulator

Original implementation:

Java Sunset

My first coding project ever, a sunset simulator written in Java. It was well received by the professor and has been used as the demo project for future classes since.

Kotlin remake:

Kotlin Sunset

I wanted to learn Kotlin before starting work at Brex, so I rebuilt the project from scratch and added randomly generated terrain using Perlin noise. A few years of work experience and a much better coding language meant the same project took dramatically fewer lines of code. It is a fun benchmark to come back to every couple of years — the gap between what I could write then and what I would write now keeps getting wider.