Skip to content
View in the app

A better way to browse. Learn more.

APlusPhysics Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Real-Time Water Simulation

(0 reviews)

A new type of software development that is being used to create realistic looking water without having large processing times is based off of approximating almost everything. The basic principal is to use a bunch of small spheres, and calculate how they would react in whatever situation, say water pouring out of a pipe. This would look like a large amount of balls rolling out of a pipe, but the real magic happens in the approximations that are used. The software uses how the balls move to judge how the water would move, and make it look like water by making the balls invisible, and adding water where the balls are, and if one gets separated it simulates how surface tension would be broken, and the water would form a droplet. This type of approximation allows the software to render realistic looking water at a resource cost that is far less than a typical simulation. By adjusting certain parameters, the viscosity and surface tension of the apparent fluid can be changed, allowing for this to be used to render all different types of fluids, not only water. This can also be adjusted to model smoke and fog, although with a largely different set of rules on the physics of each particle.

Here's an example from NVIDIA's tech demo before:

Cereal milk2.jpg

And then after the approximations:

Cereal milk1.jpg

1 Comment

Recommended Comments

Shadoof

Members

I saw something like this once, completely through a browser using OpenGL. It was quite impressive.

Guest
Add a comment...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.