How to make triangles to have a different form shape
Hello, Im discovering your work and I'm trying to figure out how to make randomize shapes like the demo site. Right now I only get squared shapes with static triangles. Could you explain a bit more please ? And thanks agin for this work !
Look into the examples folder, you will see the code that display squared shapes with static triangles.
Notice this:
var geometry = new FSS.Plane(600, 400, 6, 4);
Then, use
console.log(geometry);
to see what is inside it. After that, you will find out "triangles" is inside it. Continue...
At last you will get:
geometry > triangles > a or b or c > Vertex
So,you can use
geometry.triangles[0].a = new FSS.Vertex(Somenumber,Somenumber,Somenumber);
geometry.triangles[0].b = new FSS.Vertex(Somenumber,Somenumber,Somenumber);
geometry.triangles[0].c = new FSS.Vertex(Somenumber,Somenumber,Somenumber);
to change the position of a point.

I'm not very skilled of this, I was found out that just now. And my English is not good, hope you can get what I mean.
well,I did some trial.Although it's not very good,but at least it's work.
