HACKER Q&A
📣 andrewnc

What tech stack would you use to write Animation software?


Hello HN!

It's 2022 and I want to write a 2d animation program a la TVPaint. Is C++ and QT the way forward still, should I use something bleeding edge like sixtyfps and Rust?

Do I make a big ol' Electron app and call it a day?

What is the state of desktop development for graphics type applications?

I appreciate your help here - I have a bit over a decade of programming experience but mostly in HPC and Web domains.


  👤 neonnoodle Accepted Answer ✓
Hello fellow animation enthusiast. I'm curious about why you are writing a new program rather than working with the existing open source codebases of OpenToonz/Morevna/Pencil2D? (They are C++/Qt for whatever that's worth). Not to mention what Blender has accomplished with the development of the Grease Pencil module.

You might also look at what Niels Krogh Mortensen is doing with his Animation Paper software [https://animationpaper.com], fka Plastic Animation Paper.


👤 kleer001
Do you have experience with animation programs? Have you talked much to animators about their frustrations in their current work flows?

👤 8toast
Check out Haiku Animator: https://github.com/HaikuTeam/animator (they decided on an Electron app)

👤 speedgoose
I would use web tech with electron and call it a day. But if the plan is to have fun with a side project, rust is probably better unless you also want to finish the project.

👤 stuckinhell
For windows desktop I'd use C# and some Windows Forms.

👤 ffhhj
HTML5 + {canvas/WebGL/some 2d engine} + WebView beats Electron

👤 midislack
POSIX, C, and OpenGL.