This Script has excellent examples of how to code for multiple factories, in htm, if I can understand them.
I see that the function factory(factoryname) is being passed more (parameter) arguments than are declared.
The "argument object "is being used to process the arguments.
http://www.w3schools.com/js/js_function_parameters.asp
The techniques of this script are perfect for a polyskelions script, because I need 2 interpcurve factories.
I've got the two curves coded up already.
The join and circular array will come in handy also. And sliders.
- Brian
|