Replies: 2 comments
-
This is great! I think that I probably overengineered my thing by forking Matter.js. Your approach is better overall. I added this to https://remotion.dev/docs/third-party now! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here is another great demo! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Remotioners
I've been exploring physics engines and recently watched Jonny's video about side projects, particularly the part about simulating object behavior in animations. It got me thinking about a "bake" feature, similar to what we have in Blender.
In Blender, the "Bake" animation feature allows us to fast-forward object behavior one step at a time while saving each object's position, angle, velocity, scale, etc. This approach makes it much easier to handle time-based animations.
I implemented a similar concept in Matter.js, and it works great! Here's how I think we could apply it in Remotion:
Object Properties: Create objects with their properties (position, velocity, etc.).
Baking Process: Before playing an animation, we can "bake" these properties into a variable.
Timeline Control: This would make it easy to move forwards or backwards on the timeline, similar to how we manage keyframes.
This could be a great addition to Remotion's timeline control and would enhance physics-based animations for users!
Would love to hear your thoughts and get feedback!
Best,
Ali Haydar
Beta Was this translation helpful? Give feedback.
All reactions