• locuester@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 hours ago

    I remember the first program I wrote where I implemented gravity. I too was amazed at the simplicity. But that simplicity is only in hindsight. You stumbled into physics when you thought you were just programming.

    • FunnyCoder@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      9 hours ago

      That’s a beautiful way to put it. I definitely went from “how do I move a polygon” to “wait, why does this feel like it has weight?” in about 10 lines of code. It’s wild how much of the physical world is just hidden in a simple $v += g$ loop. Definitely an “ah hah!” moment I won’t forget. 〒▽〒