Elegant Orbit
Behold, my demonstration of 2 planets flying through the universe while dancing around each other.
Not sure if this program is more appropriate for week 3, but I just made it today (Feb 15) and wanted to document it. Also the fun part about this is that it's almost entirely generated by Chat GPT, so thanks Chat GPT. I used it to generate the basic mechanics, like the structure of the class and its show method, but I added quite a lot of customized tweaks here and there.
I began with a prompt to write the planet class for me, and I gave it very specific requirements.

It then wrote out the class for me, but I realized I had probably actually just wasted effort for this first step because writing the prompt in plain english was literally longer than if I had just written the code direclty.

I then asked it to make a quick change, which it did perfectly:

Then I asked it to add a "show" method to the planet class and make the radius of the planet proportional to its mass, which it did.


Thus far, it was all pretty simple handiwork, nothing sophisticated. But then I prompted chat to make the planets move and be attracted to each other by gravity. This is where chat GPT really started to show its power:



It didn't work immediately right off the bat, I had to make some minor changes to the G constant and such.
I can't show the entire process here because it was too long, but chat GPT was extremely helpful in writing it. I don't think you could say it's replacing the programmer's job or anything, because it still takes a coder knowledgable in the mechanics of programming to write the appropriate prompts to chat GPT. I also had to continue to tweak it here and there. I still had to conceptualize the whole structure of the program.
Chat GPT was not only useful for building out the framework of the code, it was also a delight to use for the little issues. For example when I forgot how to do exponential calculations, all I had to do was ask:

I also asked it whether naming a variable "color" would give me keyword issues:

Whereas normally resolving issues like the one above would take me some trial and error, and some digging into the documentation, Chat GPT saved me a lot of time by answering the question directly.
At one point I was curious about what the default number of octaves the noise function uses, a question which would be downright impossible to figure out on my own. The only way to answer the question would be to do some googling, and searching around documentation, which may or may not give me the answer I need. Chat GPT gave me the answer instantly:

In the end, Chat GPT was like a super efficient tutor who could help me with anything and everything, and explain it to me perfectly. It was still just a tool, it didn't and couldn't make the entire program for me without me working it. It really just helped with the laborious tasks, like writing out code I already know how to structure in my head, syntax questions, and debugging. Chat GPT helped me work smarter, and not harder.