as2 animated grass made with perlinNoise
- editable variables - perfect file with copyspace to add your text or graphics for an eye catching banner etc
you can edit the following properties:
var numBlades = 230; // <= how many blades to draw inside target, increase this value to extend the grass along your stage horizontally
var grassheight = 1; // <= increase to make the grass higher. note: best values are lower ( from between 1-2 )
var heightvar = 3; // <= vary the height of the blades (1 all blades are even, 10 some blades are much higher, and look like tufts)
var wind = 55; // <= how much wind there is for the grass to move around (50 ideal for calm breeze)
var tweenspeed = 1; // <= animation speed (5 looks like a timelapse, 0.2 looks like slow motion)
var fillhex = ‘0xFFFFFF’; // <= colour of the grass (default white)

252 Purchases
29 Comments