Trinity
by jamportz · io.github.portsmouth.trinity
Not TrustedWeb appUnrated★ 338 stars
Programmable 3D fluid simulator running in WebGL.
Screenshots
About
Trinity is a WebGL application which solves the Navier–Stokes equations of fluid/gas dynamics on GPU, and volume renders the resulting fields. Only the core simulation logic is hard-coded, while most of the dynamics is determined by user-written GLSL programs (written in the browser) which specify the injection of fluid velocity and temperature, application of external forces, and the presence of solid obstacles which the fluid collides with. Hot fluid is simulated by injection of a scalar field representing temperature, which is then passively advected and made to affect the dynamics according to buoyancy forces. In general, up to four scalar fields (collectively referred to as "the temperature") may be passively advected and used to drive the dynamics. For rendering, two color fields representing the extinction (i.e. density) and albedo of an absorbing/scattering/emitting medium, such as dust or ink, are injected and passively advected. These are volume rendered via raymarching, illuminated by a single distant light (the "sun"). The map from the temperature field to emission radiance, to simulate blackbody radiation for example, is provided by the user. Trinity is the open-source project jamportz/Trinity (https://github.com/jamportz/Trinity) by jamportz, released under MIT. Ion packages it unmodified from commit e7f89df4ba30, adding only a manifest, an icon and a storage compatibility script.
Source
Written by jamportz, published to Oikou by Ben Grande.
- ★ 338 stars on GitHub
- Licence: MIT
- Built from commit e7f89df4ba30
Age rating
Not rated. Nobody has said who this app is suitable for, so Personal Clouds and the Oikou app treat it as 18+.
What version 0.20260930.0 may do
Internet
It asks to reach nothing on the internet.
Personal Cloud tools
- Keep a database of its own on your Personal Cloud ion.db
Notifications
It does not send push notifications.
Storage
Up to 16 MB on your Personal Cloud.
Add to Personal Cloud
Sign in to add this web app to a Personal Cloud of yours. It runs there, on your own computer, and you open it from there; nothing is installed on your phone.
Versions
0.20260930.0 Latest Shown above
Published · a ready-built bundle
Imported from jamportz/Trinity at e7f89df4ba30.