Hi,
I have been working on a program that calculates stresses and deflection of a structure under various loading conditions. Currently I can draw the model and I can draw, at the moment, the deflected state. I know what the maximum deflection is for any part of the structure and what I would like is to have the deflection image display the shape with graduated colour, say, from blue to red, based on amount of deflection.
On the attached image the original framework is shown and the deflected shape is in red. So what I would like is for any node that is deflected the elements between will be coloured based on how much it is deflected from its original position.