here's what I'm trying to do, I want to have a rectangle gradually bend 45 degrees left and then gradually bend 45 degrees right.. I have a bend variable that goes from 0 to 45 back to 0 to -45 back to 0 and so on..
My original idea was to build a rectangle using multiple 4 point polygons, and depending on the variables make the z and x coordinates change depending on the bend.. I haven't been able to make anything decent looking or simulating a bend..
any ideas on an algorithm that could work for this or maybe an easier method ?