On Tuesday, 23 September 2014 at 12:31:12 UTC, MrSmith wrote:
On Sunday, 21 September 2014 at 02:36:46 UTC, Brian Schott wrote:
Some of you may have noticed this article posted to /r/programming: http://uniblock.tumblr.com/post/97868843242/noise. I ported the algorithm to D and uploaded it here: https://github.com/Hackerpilot/OpenSimplexNoise-D

Can you also make 2D version, please?

You can get 2d noise from this by generating a slice of 3d noise. Call OpenSimplexNoise.eval(x, y, c) where x and y are loop variables and c is a constant. The test file[1] does this to produce a 2d image.

[1] https://github.com/Hackerpilot/OpenSimplexNoise-D/blob/master/test/main.d

Reply via email to