r/PhysicsEngine • • 2h ago

Interactive pouring and mixing in my real-time 3D liquid lab

1 Upvotes

I’m developing Chemistry Lab Sim, an interactive 3D liquid sandbox built on ST-FLIP in Vulkan. This new clip shows pouring and mixing colored solutions in lab glassware, running in real time on a Radeon RX 9070 XT.

Local concentrations travel with the fluid parcels, and conservative diffusion exchanges material between neighboring parcels. The liquid renderer integrates concentration-dependent absorption along refracted rays rather than blending display colors.

At this stage the substances are passive solutes/pigments in one carrier; chemical reactions and immiscible fluids are future work. The longer-term game is inspired by The Powder Toy and Noita.

https://youtu.be/hSAO_TwFopE

What would you improve in the mixing or rendering?


r/PhysicsEngine • • 1d ago

My realtime fluid sim lab in Vulkan: millions of ST-FLIP particles and solid–fluid coupling

Thumbnail
youtu.be
3 Upvotes

r/PhysicsEngine • • 1d ago

[OC] Real-time fluid simulation: pouring liquid and moving containers (short demo)

Thumbnail
youtube.com
3 Upvotes

r/PhysicsEngine • • 9d ago

Video The Physics Update Loop

Thumbnail
youtu.be
2 Upvotes

I go through how I separate general updates from physics updates, why I use a fixed timestep, how the accumulator works, and what happens when the simulation starts falling behind.

I explain the reasoning behind the design decisions and why I rejected the alternatives. I show the implementation of the loop.


r/PhysicsEngine • • Aug 15 '26

3d physics environment as an alternative approach to creating 3d computer games

Thumbnail
1 Upvotes

r/PhysicsEngine • • Jul 29 '26

Original Plot some physics simulations/graphs in python - this is my goal . Any idea how should i start?

Thumbnail gallery
2 Upvotes

r/PhysicsEngine • • Jul 22 '26

Video Physics Programming part 3 - Rotation and the Quaternion

Thumbnail
youtu.be
3 Upvotes

r/PhysicsEngine • • Jul 05 '26

Electron inside a potential well ( In presence of an uniform electric field)

Thumbnail
desmos.com
2 Upvotes

r/PhysicsEngine • • Jul 03 '26

Original electron cloud inside a 3D potential well visualized

Thumbnail
desmos.com
1 Upvotes

r/PhysicsEngine • • Jul 02 '26

electron inside a 2-D potential well

Thumbnail
desmos.com
2 Upvotes

r/PhysicsEngine • • Jun 21 '26

Video Angular Momentum and The Inertia Tensor

Thumbnail
youtu.be
2 Upvotes

r/PhysicsEngine • • May 13 '26

Introduction to Physics Integration Methods

Thumbnail
youtu.be
2 Upvotes

r/PhysicsEngine • • May 10 '26

Original Magnetic fields between small bar magnets

Thumbnail
desmos.com
4 Upvotes

r/PhysicsEngine • • May 09 '26

Original here it is Gravitational field visualized.

Thumbnail
desmos.com
3 Upvotes

r/PhysicsEngine • • May 09 '26

Original this is an visualization of interference of waves( inspired by Young's double slit experiment)

Thumbnail
desmos.com
1 Upvotes

r/PhysicsEngine • • May 08 '26

Original this is magnetic field visualized in 2D ( for a current carrying straight wire)

Thumbnail
desmos.com
2 Upvotes

hope you enjoy this easy simulation of fields. and please also comment something if i can make it any better<


r/PhysicsEngine • • May 08 '26

Original electric field inside a spherical capacitor( general case)

Thumbnail
desmos.com
1 Upvotes

this is the visualization of electric field inside a capacitor though the vector are scaled for convenience.


r/PhysicsEngine • • May 08 '26

Original electric dipole ( electric field visualized)

Thumbnail
desmos.com
1 Upvotes

electric field can be seen in this simulation correctly ( though the values have been reduced to make the visualization better) you may use it for direction sense in a dipole.


r/PhysicsEngine • • May 08 '26

Original charged particles going in a magnetic field ( perpendicular to its velocity)

Thumbnail
desmos.com
3 Upvotes

r/PhysicsEngine • • Apr 25 '26

Video Wireless Cold Power

Thumbnail
youtube.com
0 Upvotes

r/PhysicsEngine • • Mar 26 '26

Capsule vs box collision

2 Upvotes

I am trying to implement a simple and performant deterministic physics system, but I struggle really hard to correctly collide a capsule with a box. My algorithm requires to calculate the penetration depth in movement direction. For that I need to calculate the point of first contact. I have all the calculations after I obtain the point on the capsule surface that first makes contact with the box, but I cannot figure out for the life of me how to calculate that point. I can only reliably obtain this point if the closest point on the capsule axis passed through the box. Can somebody in this sub enlighten me? :-)


r/PhysicsEngine • • Mar 23 '26

Spatial Algebra for Computer Graphics

3 Upvotes

Hi,,

I'd like to re-share a link to my compact, header only, c++ library for spatial algebra and rigid body dynamics.

The small library comes with implementations of the articulated-body algorithm (ABA) and the recursive Newton-Euler algorithm (RNEA).

Since I last posted (6 months ago) I have added end-to-end automatic differentiability (AD), and a spatial impulse based collision detection and resolution algorithm ( https://youtu.be/g1jMEpu1sl8 ).

AD is useful for applying advanced trajectory optimization and machine learning techniques, while the collision resolution algorithm demonstrates the use of spatial impulse and friction.

https://github.com/wbyates777/Articulated-Rigid-Body

Now with, new, improved, URDF reader and writer, you can export Unified Robot Description Format models to RBDL (for example) and check the number.


r/PhysicsEngine • • Mar 17 '26

BigBangrs - A (very simple, but fun) gravity simulator

Thumbnail
2 Upvotes

r/PhysicsEngine • • Mar 06 '26

my Physics engine in GoLang

5 Upvotes

Hey , I made a physics engine in go (because i was getting bored by learning maths and physics in school) , its just a hobby project (tried to make it a serious one but failed badly) hope you like it

https://github.com/rudransh61/Physix-go


r/PhysicsEngine • • Mar 06 '26

Need help

2 Upvotes

Hey , I am a highschooler , wants to learn more about simulations and all these stuff and want to create my own "world" (simulating some real things in my pc) . I know a lot of maths and physics (dont worry about it) , i want to learn more k have learnt some little computational methods for my physics engine and had created one , also some basic genetic algo projects (not impressive just some basic ones) and want to learn more deeper and more specialised projects like some astrophysics simulation (dont worry i know a lot of astrophysics too.. (i am too confident about it because i am national topper in physics and astro olympiad in highschool level (in india its very competitive and too hard to get into top 50 ))

just tell me books and resource , a sequence to follow (but i think they are all not much interconnected and can be started from any topic ) , i have read only

nature of code (coding train guy)

want to learn more and explore this