Timeline for How do you generate tileable Perlin noise?
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 11, 2020 at 19:28 | comment | added | zachdyer | How would you write this in JavaScript? | |
Jun 2, 2019 at 13:53 | comment | added | Boiethios | I use a lib that allows to combine several noise generators. After the configuration, I give it coordinates (2, 3 or 4 depending of the dimension), and it gives me back a value. Can I add some adapter to make this tileable, or must I write my own noise generator from scratch? | |
Oct 11, 2018 at 23:48 | comment | added | jjxtra | How to do this for 3d perlin? | |
Jan 2, 2017 at 22:39 | comment | added | LarsH | The images using yellow/blue "surflets" have helped me understand how Perlin's gradients work, for the first time! | |
Dec 8, 2016 at 18:05 | comment | added | Peter Le Bek | I think you could use Wang tiles (en.wikipedia.org/wiki/Wang_tile) to reduce periodicity in the final image | |
Aug 30, 2013 at 3:05 | comment | added | Antti Kissaniemi |
Note: if you want to generate other size than 128, DO NOT change the numeric values on the line im.putdata(data, 128, 128) . (For those unfamiliar with python or PIL: they mean scale and offset, not image size.)
|
|
Jun 22, 2013 at 21:04 | comment | added | bobobobo |
@idev Stefen Gustavson implemented it as Noise1234::pnoise here
|
|
Feb 12, 2012 at 22:49 | comment | added | John Calsbeek | This is definitely the best solution so long as you're fine with the domain of your noise being tied to the shape of your tile. For example, this doesn't allow arbitrary rotations. But if you don't need any such thing, this is the ideal answer. | |
Feb 12, 2012 at 15:06 | comment | added | idev |
could someone convert this to C? i have huge problems understanding this code, as i have never done anything with python. for example what is a value? and im not sure how the functions convert to C... i get straight lines in output only.
|
|
Feb 12, 2012 at 8:41 | vote | accept | bobobobo | ||
Feb 11, 2012 at 19:05 | comment | added | John Calsbeek |
x*pow(2, o) , since exponentiation has higher precedence than multiplication.
|
|
Feb 11, 2012 at 14:49 | comment | added | idev |
im not a python guy, so i ask, how does x*2**o convert to C? is it: x*pow(2,o) or pow(x*2,o) ?
|
|
Feb 11, 2012 at 7:57 | history | answered | Boojum | CC BY-SA 3.0 |