this post was submitted on 17 Sep 2025
29 points (100.0% liked)

Linux

13123 readers
110 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

Obviously, you could animate something like this by hand but is there any software on Linux meant to simulate this kind of mechanism?

top 11 comments
sorted by: hot top controversial new old
[–] itkovian@lemmy.world 1 points 2 hours ago

This is basically rigid body dynamics. I am sure there are many libraries that can handle this. For example, this might help: https://github.com/projectchrono/chrono

[–] Voyajer@lemmy.world 5 points 3 hours ago

My first thought would be algodoo (formerly phun) via wine if you want an intuitive graphically driven 2d physics simulator/sandbox

I don't know about installed software, but Open Constructor is a recreation of the Soda Constructor, which is what that animation makes me think of: https://peterfidelman.github.io/constructor/

And here's another SodaPlay inspired tool as well: https://panoramx.ift.uni.wroc.pl/~maq/constructor/

Hope it helps!

[–] supersquirrel@sopuli.xyz 12 points 5 hours ago (1 children)
[–] Sunsofold@lemmings.world 4 points 5 hours ago

Man, it's been years since I looked at Processing. I forgot it exists. This could be a good option.

[–] pricklypearbear@lemmy.world 10 points 5 hours ago (3 children)

Wouldn't you be able to do this in blender?

[–] frongt@lemmy.zip 2 points 4 hours ago

Yes, but I don't think it really works well with multiple constraints like that.

You could probably do keyframe animation on geometry, but I think bones only do trees.

[–] Sunsofold@lemmings.world 3 points 5 hours ago

No idea. I've been meaning to try blender again at some point anyway. I'll have to look into it.

[–] sidelove@lemmy.world 2 points 5 hours ago

Would second Blender. Plus if you're planning on maybe 3D printing a model with certain gyroscopic properties it's easy to export the model from there 😉

[–] HootinNHollerin@lemmy.dbzer0.com 3 points 4 hours ago* (last edited 4 hours ago)

Check out modelica open source physical modeling language and the rigid body model library https://openmodelica.org/

[–] tal@olio.cafe 2 points 4 hours ago* (last edited 4 hours ago)

I'm sure that you could use MetaPost to procedurally generate a frame, then merge them into an animation.

A newer, similar language is Asymptote, and it looks like it has animation support.