Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: Red on June 03, 2015, 02:03:06 PM

Title: Perlin Noise Float
Post by: Red on June 03, 2015, 02:03:06 PM
An action I whipped up the other day for use in a camera shake algorithm... I needed a random value to animate with and I found the perlin noise function.

*NOTE* At this time, the non-declared axis is a randomly chosen value. If the general consensus is that this should be given the option (such as a "use random" bool and a "choose value" float input) to choose where on the other axis this scans across, I can add that in (I think.)

How to use this action:

This only produces a positive value and if you leave the multiplier as 1 then it will only produce a value between 0 and 1.

If you have any tips, suggestions or critiques of this, feel free to let me know. Anything I can do to improve this action (and by extension my own knowledge/skills at coding) is more than appreciated.
Title: Re: Perlin Noise Float
Post by: jeanfabre on June 03, 2015, 02:25:05 PM
Hi,

 I made an action (http://hutonggames.com/playmakerforum/index.php?topic=46.msg199#msg199) a while ago on perlin noise as well :) But your version has a multiplier, which is a great little plus.

 Bye,

 Jean
Title: Re: Perlin Noise Float
Post by: Red on June 03, 2015, 02:30:54 PM
Aaah, whoops! Didn't know that when I put this together.
Title: Re: Perlin Noise Float
Post by: mdotstrange on June 03, 2015, 07:00:10 PM
Cool  :) Thank you!