Hi all, as a child I spent a lot of time working in the Processing language. Does this have any transferrable use cases / what’s the point it even exists?

  • @SethranKada@lemmy.ca
    link
    fedilink
    English
    25 months ago

    I went straight from Processing to Rust. You’d be surprised by just how many skills transfer over! I’ve found that it’s actually easier than other programming languages, aside from doing anything visual. I haven’t figured out how to do the same kind of graphics stuff as i could in processing just yet.

    As for use cases? Processing is a learning tool, and it’s great for teaching as well. You can make some pretty great animations using it, and a lot of YouTubers use it internally to animate their math videos.

    • Ephera
      link
      fedilink
      25 months ago

      I think, at this point, your best bet is to use a game engine, like for example Bevy: https://bevyengine.org/examples/

      It’s not as hyper-focused on drawing things as Processing is, so there’s a bit more boilerplate to set everything up, but once you have that down, the actual drawing calls shouldn’t really be more complex…

        • Ephera
          link
          fedilink
          25 months ago

          It doesn’t have a GUI editor for tweaking the game contents, like Godot has it, but it’s a complete game engine, so with a tiny bit of configuration, it will do all the things to display your game in a window.

          So, it’s not just a graphics library/module, where you’d still have to write a whole structure yourself, but rather a framework, which means it provides a structure for you and you basically just have to fill out the blanks with whatever you want drawn.

            • Ephera
              link
              fedilink
              25 months ago

              I’ve never done anything with pygame. From the little I’ve just read up on it, it sounds like Bevy is probably a somewhat more cohesive experience (albeit not yet as mature), but yeah, the scope of the projects should be similar.