www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - OpenSimplex Noise ported to D

reply "Brian Schott" <briancschott gmail.com> writes:
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
Sep 20 2014
next sibling parent "matovitch" <camille.brugel laposte.net> writes:
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
I read it indeed. Nice job I'll definetly look at this code. Thanks again for all jour great work on dcd ! :) (I wasn't very long because I am currently on a phone with french autocompletion. ;)
Sep 22 2014
prev sibling parent reply "MrSmith" <mrsmith33 yandex.ru> writes:
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?
Sep 23 2014
next sibling parent "Brian Schott" <briancschott gmail.com> writes:
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
Sep 23 2014
prev sibling parent "KdotJPG" <k k.jpg> writes:
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?
Hey, I'm the original creator of the algorithm. Found this thread in a Google search :P. I am planning on releasing both 2D and 4D variants of this algorithm. The 4D variant is mostly done, and the 2D should take practically no time at all afterwards. But if you need 2D noise and you're not pinching for performance, just take a 2D slice of 3D noise by making one of the variables a constant. To me, doing that creates a more isotropic appearance than simply using 2D noise.
Sep 23 2014