At the university where I study and work as a TA, all CS students have to write a Mandelbrot generator (we provide a simple GUI for them) in the second programming course.
Everyone is always very happy with the results and many consider it one of the coolest things they've done with programming up until then. I think assignments like those make them more enthusiastic about programming, which we (imo) need more of.
[1] https://www.youtube.com/watch?v=zxIcydL7wwY [2] https://benedikt-bitterli.me/buddhabrot/index.html
These days?
$ sudo apt install xaos
$ xaos
Click in the window, hold the mouse button down, watch.It's funny that of all the things I'm 'jealous' of in modern tech, the thing that still blows me away is just how fast I can generate/zoom around fractal sets, just for the hell of it, on my phone. This much computing power in the palm of one's hand was inconceivable to me at the time!
It's a nice documentary, though. Highly recommend it. They even have an interview with Benoit Mandelbrot himself, may he rest in peace.
Two years after that, I wrote my first Mandelbrot-renderer. First in Python, but that was waaaay too slow, then in C, which was a lot faster (duh!), and then I made it even faster by telling the compiler to use SSE. (To some, that sounds trivial, but it was something I had never done before.)
I have always suspected that it is like a rite of passage, building at least one simple-minded Mandelbrot renderer. I rewrote mine after two more years to take advantage of multiple threads and wrote another one to render the Buddhabrot[1]. Then I remembered an article I had read years before, about the Parallel Virtual Machine, PVM. So, the next weekend, I turned my Mandelbrot renderer into a distributed application.
So Kudos to the author. Tackling the Mandelbrot set has the dual advantage of being interesting and you can make pretty pictures along the way. It is great fun, and I learned a few things along the way. What more could I ask for?
[1] https://en.wikipedia.org/wiki/Buddhabrot