TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

WebGL Fluid Experiment (2014)

200 点作者 maxraz将近 5 年前

21 条评论

haxiomic将近 5 年前
Hey, I feel bad for not updating this demo in 6 years! Back then it wouldn&#x27;t run on iOS, today it could run with no trouble<p>For people on iOS, here&#x27;s another version with rainbow colors and multi-touch <a href="https:&#x2F;&#x2F;haxiomic.github.io&#x2F;demos&#x2F;rainbow-fluid&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;haxiomic.github.io&#x2F;demos&#x2F;rainbow-fluid&#x2F;index.html</a><p>If you like this sort of thing and want to learn more about it I recommend checking out <a href="https:&#x2F;&#x2F;www.shadertoy.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.shadertoy.com&#x2F;</a> for more demos and <a href="https:&#x2F;&#x2F;thebookofshaders.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;thebookofshaders.com&#x2F;</a> for tutorials<p>And if GPU simulations is your thing then I think you&#x27;ll enjoy what these two amazing guys are doing with shaders:<p>- <a href="https:&#x2F;&#x2F;www.shadertoy.com&#x2F;user&#x2F;michael0884" rel="nofollow">https:&#x2F;&#x2F;www.shadertoy.com&#x2F;user&#x2F;michael0884</a><p>- <a href="https:&#x2F;&#x2F;www.shadertoy.com&#x2F;user&#x2F;wyatt" rel="nofollow">https:&#x2F;&#x2F;www.shadertoy.com&#x2F;user&#x2F;wyatt</a>
评论 #24063858 未加载
评论 #24065121 未加载
评论 #24067239 未加载
kipple将近 5 年前
At first I expected this to be some new version, but nope, it&#x27;s the original. I love that this repo[0] hasn&#x27;t been touched significantly in 6 years and it&#x27;s still going strong.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;haxiomic&#x2F;GPU-Fluid-Experiments" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;haxiomic&#x2F;GPU-Fluid-Experiments</a>
评论 #24061660 未加载
nemacol将近 5 年前
This is fantastic. Runs really smooth, the color and design looks wonderful. I could lose few afternoons playing with this thing.<p>Looking forward to the app. Would be fun to manipulate the sim by moving my iPad around.<p>Potentially fun ideas...<p>Allow me to place shapes&#x2F;blocks down and lock them in place to see how the fluid moves around them.<p>Let me put a small &#x27;pump&#x27; in the liquid to keep constant or pulsed movement. add a couple dials for pump speed, etc. I want to put two pumps facing one another and watch the interaction where they meet.<p>Different pool shapes - round, star, sphere?<p>Allow for particles to reach the edge of the pool to fall off and then let me drop new ones into flowing water.<p>Loads of fun. Thank you!
jchw将近 5 年前
There is also this one, and the corresponding iOS app (which I have.) It seems to run a bit faster on my phone.<p><a href="https:&#x2F;&#x2F;paveldogreat.github.io&#x2F;WebGL-Fluid-Simulation&#x2F;" rel="nofollow">https:&#x2F;&#x2F;paveldogreat.github.io&#x2F;WebGL-Fluid-Simulation&#x2F;</a>
评论 #24064175 未加载
madjam002将近 5 年前
Nice, the effect reminds me of Powder Game (<a href="https:&#x2F;&#x2F;dan-ball.jp&#x2F;en&#x2F;javagame&#x2F;dust&#x2F;" rel="nofollow">https:&#x2F;&#x2F;dan-ball.jp&#x2F;en&#x2F;javagame&#x2F;dust&#x2F;</a>)
评论 #24063353 未加载
评论 #24065247 未加载
blauditore将近 5 年前
Tangentially related: For a long time I&#x27;ve always been looking for some software for particle simulations that is free or even open source, easy to get started, and at least somewhat visual. I&#x27;m not doing anything like that professionally, just want to play around with a virtual wind tunnel for the fun of it. I&#x27;m thinking of something like Blender where I would click together a 3d mesh, &quot;turn on&quot; wind and see what happens.<p>Does anyone have tips or hints? Are my expectations perhaps unrealistic? I looked into OpenFOAM before but always eventually gave up, as it seems quite heavy on headless, scripted simulation, and would need some significant run-up time.
评论 #24061903 未加载
评论 #24063291 未加载
评论 #24065374 未加载
utf_8x将近 5 年前
Damn, the performance on that is really impressive.
_ZeD_将近 5 年前
It reminds me of <a href="http:&#x2F;&#x2F;minimal.be&#x2F;lab&#x2F;fluGL&#x2F;index80000.html" rel="nofollow">http:&#x2F;&#x2F;minimal.be&#x2F;lab&#x2F;fluGL&#x2F;index80000.html</a>
Razengan将近 5 年前
Would be even more fun if such things (including the Powder Game) were also affected by device orientation&#x2F;gyroscope&#x2F;accelerometers.
LoSboccacc将近 5 年前
all these simulators out there and still not one remake of plasma pong
评论 #24060694 未加载
评论 #24060514 未加载
dang将近 5 年前
Discussed at the time: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8502477" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8502477</a><p>also <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8325700" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8325700</a>
holoduke将近 5 年前
just out of curiousity, but how does the algorithm roughly works. does every pixel&#x2F;particle position gets calculated? or is it optimized by smart grouping? is the GPU used for paralell computing? very interesting stuff to heavily optimize I guess.
inetsee将近 5 年前
The title seems to imply that it needs a touch screen device. It seems to work just fine on my desktop with a mouse.
octernion将近 5 年前
i&#x27;m constantly amazed at what can be done with webgl these day (shame about the iOS support). surprised we don&#x27;t see more immersive games with this tech!
codetrotter将近 5 年前
Doesn’t support iOS
评论 #24060331 未加载
评论 #24060274 未加载
imvetri将近 5 年前
ha ha ha, outer space is a simulated fluid.
评论 #24060764 未加载
designium将近 5 年前
That&#x27;s very fun and relaxing!
monkeydust将近 5 年前
Therapeutic... I mean really.
peacefulhat将近 5 年前
iOS not supported. Ridiculous that iOS doesn’t support WebGL 2.0
评论 #24062616 未加载
Ataraxy将近 5 年前
Very satisfying effect.
suyash将近 5 年前
beautifully made!