@kornel@mastodon.social
@kornel@mastodon.social avatar

kornel

@kornel@mastodon.social

This profile is from a federated server and may be incomplete. Browse more on the original instance.

kornel, to random
@kornel@mastodon.social avatar

I'm writing a fluid simulator as an excuse to learn more #shader coding.

I get now why people keep reinventing fluid simulators — there's some very clever math in the fundamentals, but also the problem has no right solution, so there's also lot that can be fudged and tweaked for different results.

kornel,
@kornel@mastodon.social avatar

My #gpu fluid sim is working!

Debugging of these things is hard, because every step of the sim has a circular dependency on every other step, so a bug in one of them breaks them all.

Now I'm trying to make it a proper #Bevy plugin and hook up to lights.

ad-hoc visualization of eulerian fluid sim - density, divergence, velocity, pressure

kornel,
@kornel@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • ethstaker
  • osvaldo12
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • tacticalgear
  • cisconetworking
  • normalnudes
  • anitta
  • provamag3
  • Leos
  • lostlight
  • All magazines