boj/ruby-perlin — pull request #3 by Spooner (2012-07-01 03:02:57+00:00)
Title: Made into a gem, specced, fixed and expanded!

_Please don't pull this in yet!_ I'm still working on it - mainly just asking for general feedback here, since I've changed quite a _lot_ of stuff. Most importantly whether you want to pull and publish the gem or if you want me to manage that, since it looks like you've abandoned the project?

An important improvement would be to allow chunks to have float values for x/y/z steps, since only sampling every "1" is rather limiting! I need to add Simplex noise too, since that is faster and a bit nicer.

I'm using it to generate dynamic textures in my Gosu game, by the way. Not super-fast, but fast enough, unlike the pure Ruby implementations and I think there is a bit more optimisation that could be done!