Difference between revisions of "Template:Duesseldorf/2021 gras"

Line 16: Line 16:
 
});
 
});
  
var MID_HEIGHT = 1; // The height of the middle of the leaf.
+
var MID_HEIGHT = 72; // The height of the middle of the leaf.
var HEIGHT = 33; // Leaf Height.
+
var HEIGHT = 17; // Leaf Height.
var WIDTH = 17; // Leaf width.
+
var WIDTH = 4; // Leaf width.
var distance = 10; // Distance between leafs.
+
var distance = 5; // Distance between leafs.
 
var ANGLE = Math.PI / 2; // The angle tha the leaf starts.
 
var ANGLE = Math.PI / 2; // The angle tha the leaf starts.
var RANDOMNESS  = 14; // How random these parameters are the leaf's array.
+
var RANDOMNESS  = 17; // How random these parameters are the leaf's array.
 
var time = 0; // Time counter.
 
var time = 0; // Time counter.
var leafColor = '#013e04'; // Color of the leaf.
+
var leafColor = '#3AAA35'; // Color of the leaf.
  
 
var FPS = 30;
 
var FPS = 30;
var SPEED = 5;
+
var SPEED = 2;
var LAMBDA = 0.5;
+
var LAMBDA = 0.1;
  
 
/*!
 
/*!

Revision as of 09:48, 6 October 2021