2018–2019
Space and Light circa 2018–2019
C++ · Computer
Graphics · Astronomy · First Project
In 2018-19, when I was 17ish, I absolutely loathed programming classes.
We were using Turbo C++ (which I believe was the rage back in the Cretaceous), and programming felt
frustratingly abstract to me. I couldn't really see what any of it was useful for.
Then our teacher asked us to make a project.
I liked math and science, and I was preparing for university entrance exams (which were math and
science), so I thought: why not make something related to science?
I found the graphics library, started experimenting, and ended up building an animation that rendered
stars and the Milky Way.
For the first time, the things we'd been learning in class (pointers, classes, abstraction, and all the
rest) suddenly became useful parts of something I could actually see.
I got so engrossed in the project that I'd spend my lunch breaks in the computer lab, stuck to computer
screen, trying to debug cpp code on ancient 80s era compilers, and ended up spending the entire holidays
working on it.
My teacher was so surprised by the final result that she initially didn't believe I'd made it myself (as
I was not exactly known for being a fan of programming back then).
That project completely changed how I thought about programming.
I also built a small quiz with a dynamic timing system, where faster answers earned more points, along
with a leaderboard.
In retrospect, this project to me was what I presume LLMs are for most people (especially non-CS people),
ability to communicate with a machine in written language and getting it to do what you want it to do - It
felt magical!
C++ graphics simulations: dispersion of light, sunlight, and red giant evolution.
GitHub