Moved transformation to options, added origin as an option.
Updated example to use origin instead of transformation.