Convert to Paper.js coding conventions.
Do not pre-calculate numeric values, count on optimizing JS engines to do that for us.
Add explaining comment.