1.0.3 • Published 6 years ago
phone-com-example v1.0.3
Example javascript library on shapes for Phone.com.
Test through npmjs.com website or add the npm package to your project with: npm install phone-com-example --save
Featured shapes:
- circle
- right triangle
- equilateral triangle
- rectangle
- square
- parallelogram
For each shape:
- calculate the area
- calculate the perimeter
- proportionally resize the shape up or down, given a floating-point scale factor