I am new to Processing so I apologise if the answer to this seems obvious. I have searched the reference, help files and forums but am still unsure as to why this problem is occuring.
I have created a sketch which produces a series of rotating lines, setting the strokeWeight to 0.025, but after exporting and loading the index.html file the strokeWeight is incorrect. the code is as follows (I realise that there is probably a much simpler way to code this, but am in the process (excuse the pun) of teaching myself the code from tutorials and forum posts. This is my first attempt at a sketch so please forgive any obvious stupidity in the coding).
On running any of the other export files (.jar, .app) the sketch works as intended it is only the .html in which i find this problem.
color a = color(5,40,255);
color b = color(64,90,252);
color c = color(133,149,252);
float d = (1);
float e = (5);
float f = (10);
float g = (100);
float h = (0.0175);
a = color(252,0,63);
b = color(227,94,127);
c = color(255,211,222);
} else if(mousePressed && (mouseButton == RIGHT))
{
a = color(176, 227, 169);
b = color(100,193,88);
c = color(28,255,0);
} else {
a = color(5,40,255);
b = color(64,90,252);
c = color(133,149,252);
}