Skip to content
Snippets Groups Projects
Commit 1196f37d authored by Manuel Amesberger's avatar Manuel Amesberger
Browse files

Added some neat description for parameters

parent 53351aef
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
var vectFieldDat = "http://localhost:8081/arrows" //URL of the vectorfile in json-format
// =====Default Offset parameters=====
// =====Offset range parameters=====
var offsetXmin = -1.0;
var offsetXmax = 1.0;
var offsetYmin = -1.0;
......@@ -16,18 +16,22 @@
var updateFrequency = 1000;
// =====Arrow depiction parameters=====
var arrowMaxLength = 2.0;
var arrowMaxLength = 2.0; //default values of arrow length
var arrowMinLength = 0.5;
var maxRange = 4.0;
var minRange = 0.0;
var maxRange = 4.0; //defines the range wihich can be
var minRange = 0.0; //choosen for the range
//edit this to fit your needs
var minColor = 'red';
var maxColor = 'blue';
var minColor = 'red'; //color of too small arrows
var maxColor = 'blue'; //color of too large arrows
var hexMax = 255;
var pivotPoint = 50;
var hexDivisor = hexMax / pivotPoint
var hexMax = 255; //max hex value of colors
var pivotPoint = 50; //precentage at which color gradient
//switches
var hexDivisor = hexMax / pivotPoint //value needed for correct
//calculation of color
// ====Default sizes for non depictable arrows ======
var nonArrowLength = 0.1;
......@@ -43,7 +47,11 @@
this.arrowMinLength = 0.5;
};
var vecDataTransferHelper;
var vecDataTransferHelper; //variable to transfer vectordata
//from read method to update method
//(porbably not optimal and needs
//revisiting
)
var oldVecArrayLength = 0;
var vectorlist = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment