Skip to content

Comment on The random number generator of DOOMparent

Comments

And not just textures or terrain. Apply Perlin noise to a vector field and you create smoothly random motion, which can be used to simulate things like air currents.

Good point! Here's two OpenGL animations across multiple 1-dimensional vertices:

Perlin- https://i.imgur.com/ROww6bw.gif Random- https://i.imgur.com/EurTdaZ.gif

I animated these tentacles using Perlin noise: http://www.youtube.com/watch?v=RMwJXP8EOU4

(By manipulating the available variables in a Bezier curve.)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.