TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Flow Fields

99 pointsby dmitover 5 years ago

6 comments

smcameronover 5 years ago
Taking the curl of a noise field will get you a divergence free flow field[1]... which is an easy way to get something that <i>looks</i> like fluid dynamics, but isn&#x27;t.<p>I&#x27;ve use this to great effect on the surface of a sphere to generate textures for gas giants[2]. Some example output: <a href="https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;9LipP" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;9LipP</a><p>1. <a href="https:&#x2F;&#x2F;www.cs.ubc.ca&#x2F;~rbridson&#x2F;docs&#x2F;bridson-siggraph2007-curlnoise.pdf" rel="nofollow">https:&#x2F;&#x2F;www.cs.ubc.ca&#x2F;~rbridson&#x2F;docs&#x2F;bridson-siggraph2007-cu...</a> 2. <a href="https:&#x2F;&#x2F;github.com&#x2F;smcameron&#x2F;gaseous-giganticus" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;smcameron&#x2F;gaseous-giganticus</a>
jcimsover 5 years ago
I think it would be interesting to add a z dimension so you could sweep through it with the plane to look for the best aesthetic in the field. Kind of like passing a line laser through smoke. You could even slice along a spline or some other function (e.g. spiral) to get more effects.<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=iyhySKWPtmA" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=iyhySKWPtmA</a>
evrydayhustlingover 5 years ago
Really cool explanation! Some of the generated forms remind me if Julie Mehretu stuff: <a href="https:&#x2F;&#x2F;www.artsy.net&#x2F;artist&#x2F;julie-mehretu" rel="nofollow">https:&#x2F;&#x2F;www.artsy.net&#x2F;artist&#x2F;julie-mehretu</a>
评论 #22248360 未加载
pierrecover 5 years ago
This can be generalized to scalar and vector fields in any number of dimensions. These things are everywhere in generative art. The discretization done by the author here is often not necessary, though.<p>The graphical programming environment vvvv has a pack of nodes (&quot;field trip&quot;) for manipulating these in 2D and 3D. Fun to play with, and it&#x27;s been used to create many beautiful pieces.
packetpirateover 5 years ago
Flow fields are also great for reducing the amount of computation required to generate pathfinding for a large number of entities in a game world. I implemented flow fields as the pathfinding for the enemies in a game I was working on last year and it works really well.
jnwatsonover 5 years ago
I’m a big fan of the artist. He’s at the forefront of the contemporary generative art movement.