Some nice examples of processing-based interactive graphic static applets have been developed at the MIT. Interactive Thrust is a project started by Philippe Block under supervision of John Ochsendorf.
A truss geometry and its force diagram by Luigi Cremona.
Another great interactiv webpage is Active Statics, developed by Simon Greenwold, Ed Allen and Waclaw Zalewski.
Adding methods to Python classes
2 weeks ago